diff options
author | Raul Tambre <raul@tambre.ee> | 2021-02-06 16:54:13 (GMT) |
---|---|---|
committer | Raul Tambre <raul@tambre.ee> | 2021-02-25 16:22:10 (GMT) |
commit | 93b7d3d29221f98388c7fa20568cd0b769a26774 (patch) | |
tree | 389c3bf8cd1e2a9cc03f431874d16448eee9fe1d /Help | |
parent | 58d9525233e4ffca1c7edc7a5978770a0e4ec36d (diff) | |
download | CMake-93b7d3d29221f98388c7fa20568cd0b769a26774.zip CMake-93b7d3d29221f98388c7fa20568cd0b769a26774.tar.gz CMake-93b7d3d29221f98388c7fa20568cd0b769a26774.tar.bz2 |
C17 support
Implements #17755.
Diffstat (limited to 'Help')
-rw-r--r-- | Help/prop_gbl/CMAKE_C_KNOWN_FEATURES.rst | 3 | ||||
-rw-r--r-- | Help/prop_tgt/C_STANDARD.rst | 2 | ||||
-rw-r--r-- | Help/release/dev/c-std.rst | 6 |
3 files changed, 10 insertions, 1 deletions
diff --git a/Help/prop_gbl/CMAKE_C_KNOWN_FEATURES.rst b/Help/prop_gbl/CMAKE_C_KNOWN_FEATURES.rst index 7166381..9ea63fa 100644 --- a/Help/prop_gbl/CMAKE_C_KNOWN_FEATURES.rst +++ b/Help/prop_gbl/CMAKE_C_KNOWN_FEATURES.rst @@ -24,6 +24,9 @@ The features known to this version of CMake are: ``c_std_11`` Compiler mode is at least C 11. +``c_std_17`` + Compiler mode is at least C 17. + ``c_function_prototypes`` Function prototypes, as defined in ``ISO/IEC 9899:1990``. diff --git a/Help/prop_tgt/C_STANDARD.rst b/Help/prop_tgt/C_STANDARD.rst index 3f0d242..4fbde35 100644 --- a/Help/prop_tgt/C_STANDARD.rst +++ b/Help/prop_tgt/C_STANDARD.rst @@ -11,7 +11,7 @@ flag such as ``-std=gnu11`` to the compile line. For compilers that have no notion of a C standard level, such as Microsoft Visual C++ before VS 16.7, this property has no effect. -Supported values are ``90``, ``99`` and ``11``. +Supported values are ``90``, ``99``, ``11``, ``17``. If the value requested does not result in a compile flag being added for the compiler in use, a previous standard flag will be added instead. This diff --git a/Help/release/dev/c-std.rst b/Help/release/dev/c-std.rst new file mode 100644 index 0000000..475a4e4 --- /dev/null +++ b/Help/release/dev/c-std.rst @@ -0,0 +1,6 @@ +c-std +----- + +* :prop_tgt:`C_STANDARD` and the + :manual:`Compile Features <cmake-compile-features(7)>` functionality gained + support for C17. |