diff options
author | Brad King <brad.king@kitware.com> | 2018-11-13 15:40:31 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2018-11-13 15:40:38 (GMT) |
commit | bd04db899f51b93581107ef35fc970b4fd54c410 (patch) | |
tree | 3579187827441772390626fed2d42cb0e8f65e58 /Modules | |
parent | 4fd97bbc2cfb91a29fd25d35e12c5784f2637aee (diff) | |
parent | 0470ee96b1268d5565905581fc137ea33cd0c906 (diff) | |
download | CMake-bd04db899f51b93581107ef35fc970b4fd54c410.zip CMake-bd04db899f51b93581107ef35fc970b4fd54c410.tar.gz CMake-bd04db899f51b93581107ef35fc970b4fd54c410.tar.bz2 |
Merge topic 'WriteCompilerDetectionHeader'
0470ee96b1 Help: Remove duplication of function name.
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2605
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/WriteCompilerDetectionHeader.cmake | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/Modules/WriteCompilerDetectionHeader.cmake b/Modules/WriteCompilerDetectionHeader.cmake index a556567..21ccd7c 100644 --- a/Modules/WriteCompilerDetectionHeader.cmake +++ b/Modules/WriteCompilerDetectionHeader.cmake @@ -7,9 +7,8 @@ WriteCompilerDetectionHeader This module provides the function write_compiler_detection_header(). -The ``WRITE_COMPILER_DETECTION_HEADER`` function can be used to generate -a file suitable for preprocessor inclusion which contains macros to be -used in source code:: +This function can be used to generate a file suitable for preprocessor +inclusion which contains macros to be used in source code:: write_compiler_detection_header( FILE <file> @@ -25,8 +24,8 @@ used in source code:: [ALLOW_UNKNOWN_COMPILER_VERSIONS] ) -The ``write_compiler_detection_header`` function generates the -file ``<file>`` with macros which all have the prefix ``<prefix>``. +This generates the file ``<file>`` with macros which all have the prefix +``<prefix>``. By default, all content is written directly to the ``<file>``. The ``OUTPUT_FILES_VAR`` may be specified to cause the compiler-specific |