summaryrefslogtreecommitdiffstats
path: root/Modules/WriteCompilerDetectionHeader.cmake
Commit message (Collapse)AuthorAgeFilesLines
* WCDH: Don't imply that MSVC is supported by the module.Stephen Kelly2014-11-231-1/+1
| | | | Remove the mention of it from the docs.
* WCDH: Ensure that the prefix argument to the macro is valid.Stephen Kelly2014-07-021-0/+8
| | | | | The prefix must be a C-identifier because it is written as the prefix of preprocessor macros and possibly structs.
* WCDH: Fix compiler id test for compatibility macros.Stephen Kelly2014-06-131-4/+4
| | | | Enable the alignment features for Clang.
* WCDH: Remove noise from generated defines.Stephen Kelly2014-06-131-7/+7
| | | | | | The DECL part is redundant, and the language part is not needed. The source language and context already determines the language, so there is no need to repeat it in the define name.
* WCDH: Document the alignof and alignas wrapper macros.Stephen Kelly2014-06-101-0/+10
|
* Merge topic 'WriteCompilerDetectionHeader-compiler-versions'Brad King2014-06-101-3/+57
|\ | | | | | | | | | | | | | | ddec418a Features: Add compiler version support to WriteCompilerDetectionHeader. b7029576 Project: Add configurable name for version computation macros. 78acaafe Project: Separate simulated compiler id from version detection. 567af1a5 WCDH: Issue a better message for version compatibility.
| * Features: Add compiler version support to WriteCompilerDetectionHeader.Stephen Kelly2014-06-091-1/+50
| |
| * WCDH: Issue a better message for version compatibility.Stephen Kelly2014-06-051-2/+7
| |
* | WCDH: Add compatibility defines for deprecation.Stephen Kelly2014-06-091-10/+52
|/
* Help: Add a manual for compiler feature control.Stephen Kelly2014-05-271-0/+3
| | | | | | | | Link to it from the documentation of related properties, variables and commands. Extend the cmake-developer(7) documentation with notes on extending feature support for compilers.
* Features: Record for Clang 3.4Stephen Kelly2014-05-201-0/+1
| | | | Clang 3.4 supports all features currently known to CMake.
* Features: Extend concept to C language.Stephen Kelly2014-05-141-4/+20
| | | | | | | | | | | Add properties and variables corresponding to CXX equivalents. Add features for c_function_prototypes (C90), c_restrict (C99), c_variadic_macros (C99) and c_static_assert (C11). This feature set can be extended later. Add a <PREFIX>_RESTRICT symbol define to WriteCompilerDetectionHeader to conditionally represent the c_restrict feature.
* Add the WriteCompilerDetectionHeader module.Stephen Kelly2014-05-141-0/+401
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.