diff options
author | Brad King <brad.king@kitware.com> | 2014-05-20 13:40:14 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2014-05-20 13:40:14 (GMT) |
commit | c1edede31f4e979826a5fc0f6e56b1b59cb00f21 (patch) | |
tree | 11ca8f038a7e363ebd7b218d5cf753fae4b1cd4d /Help/release | |
parent | 8897116df8e8a6576f2736b96b8e0d529c26139e (diff) | |
parent | e0890d03a48d12904ffe24aa94fb2847d8d5f4e7 (diff) | |
download | CMake-c1edede31f4e979826a5fc0f6e56b1b59cb00f21.zip CMake-c1edede31f4e979826a5fc0f6e56b1b59cb00f21.tar.gz CMake-c1edede31f4e979826a5fc0f6e56b1b59cb00f21.tar.bz2 |
Merge topic 'compile-features-C-language'
e0890d03 Features: Extend concept to C language.
Diffstat (limited to 'Help/release')
-rw-r--r-- | Help/release/dev/compile-language-features.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Help/release/dev/compile-language-features.rst b/Help/release/dev/compile-language-features.rst index 3c5d7ca..fe72e39 100644 --- a/Help/release/dev/compile-language-features.rst +++ b/Help/release/dev/compile-language-features.rst @@ -7,6 +7,12 @@ target-language-features :variable:`CMAKE_CXX_STANDARD` and :variable:`CMAKE_CXX_EXTENSIONS` variables may be set to initialize the target properties. +* New :prop_tgt:`C_STANDARD` and :prop_tgt:`C_EXTENSIONS` target + properties may specify values which CMake uses to compute required + compile options such as ``-std=c11`` or ``-std=gnu11``. The + :variable:`CMAKE_C_STANDARD` and :variable:`CMAKE_C_EXTENSIONS` + variables may be set to initialize the target properties. + * New :prop_tgt:`COMPILE_FEATURES` target property may contain a list of features required to compile a target. CMake uses this information to ensure that the compiler in use is capable of building |