summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/WriteCompilerDetectionHeader
Commit message (Collapse)AuthorAgeFilesLines
* WCDH: Make it possible to generate multiple files.Stephen Kelly2014-11-2410-0/+57
| | | | | | 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-027-0/+34
| | | | | The prefix must be a C-identifier because it is written as the prefix of preprocessor macros and possibly structs.
* WCDH: Issue a better message for version compatibility.Stephen Kelly2014-06-051-1/+5
|
* Add the WriteCompilerDetectionHeader module.Stephen Kelly2014-05-1432-0/+173
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.