|
@@ -13,7 +13,12 @@ The features listed here may be used with the :command:`target_compile_features`
|
|
|
command. See the :manual:`cmake-compile-features(7)` manual for information on
|
|
command. See the :manual:`cmake-compile-features(7)` manual for information on
|
|
|
compile features and a list of supported compilers.
|
|
compile features and a list of supported compilers.
|
|
|
|
|
|
|
|
-The features known to this version of CMake are:
|
|
|
|
|
|
|
+The features known to this version of CMake are listed below.
|
|
|
|
|
+
|
|
|
|
|
+High level meta features indicating C standard support
|
|
|
|
|
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
+
|
|
|
|
|
+.. versionadded:: 3.8
|
|
|
|
|
|
|
|
``c_std_90``
|
|
``c_std_90``
|
|
|
Compiler mode is at least C 90.
|
|
Compiler mode is at least C 90.
|
|
@@ -25,11 +30,18 @@ The features known to this version of CMake are:
|
|
|
Compiler mode is at least C 11.
|
|
Compiler mode is at least C 11.
|
|
|
|
|
|
|
|
``c_std_17``
|
|
``c_std_17``
|
|
|
|
|
+ .. versionadded:: 3.21
|
|
|
|
|
+
|
|
|
Compiler mode is at least C 17.
|
|
Compiler mode is at least C 17.
|
|
|
|
|
|
|
|
``c_std_23``
|
|
``c_std_23``
|
|
|
|
|
+ .. versionadded:: 3.21
|
|
|
|
|
+
|
|
|
Compiler mode is at least C 23.
|
|
Compiler mode is at least C 23.
|
|
|
|
|
|
|
|
|
|
+Low level individual compile features
|
|
|
|
|
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
+
|
|
|
``c_function_prototypes``
|
|
``c_function_prototypes``
|
|
|
Function prototypes, as defined in ``ISO/IEC 9899:1990``.
|
|
Function prototypes, as defined in ``ISO/IEC 9899:1990``.
|
|
|
|
|
|