summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/WriteCompilerDetectionHeader/RunCMakeTest.cmake
Commit message (Collapse)AuthorAgeFilesLines
* WriteCompilerDetectionHeader: Add policy to remove moduleBrad King2020-12-051-0/+7
| | | | | | See justification in the policy documentation. Closes: #17842
* WCDH: Make it possible to generate multiple files.Stephen Kelly2014-11-241-0/+4
| | | | | | Extend the write_compiler_detection_header interface to allow specifying a location for supplementary files, and getting the list of resulting files as a variable.
* WCDH: Ensure that the prefix argument to the macro is valid.Stephen Kelly2014-07-021-0/+2
| | | | | The prefix must be a C-identifier because it is written as the prefix of preprocessor macros and possibly structs.
* Add the WriteCompilerDetectionHeader module.Stephen Kelly2014-05-141-0/+12
Provide a function to write a portable header to detect compiler features. Generate a preprocessor #error for unknown compilers and compiler versions whose features are not yet recorded. This error condition might be relaxed in the future, but for now it is useful for verification of expectations.