summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeDetermineCompileFeatures.cmake
Commit message (Collapse)AuthorAgeFilesLines
* Features: Add support for C++14 features.Stephen Kelly2014-05-221-1/+7
| | | | Record the features implemented by GNU 4.9 and Clang 3.4.
* Features: Ensure that list exists to remove from.Stephen Kelly2014-05-201-1/+1
|
* Features: Extend concept to C language.Stephen Kelly2014-05-141-1/+39
| | | | | | | | | | | 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.
* Features: Add cxx_template_template_parameters.Stephen Kelly2014-04-161-0/+7
| | | | | Extend the existing feature infrastructure as needed to support both C++11 and C++98 features.
* project: Add infrastructure for recording CXX compiler featuresStephen Kelly2014-04-071-0/+43
Add a feature test using the compiler macros and the preprocessor to determine available features. Add a CMAKE_CXX_COMPILE_FEATURES variable which contains all features known to the loaded compiler, and a CMAKE_CXX_KNOWN_FEATURES variable containing all features known to CMake. Add language standard specific variables for internal use to determine the standard-specific compile flags to use. This will be extended to other languages in the future. Follow-up commits will add features which will be recorded by the feature test.