mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 13:20:47 -06:00
Merge topic 'compile-feature-version-tags'
b75f778531 Help: Detailed version tags for compiler known features
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6562
This commit is contained in:
@@ -32,4 +32,6 @@ The features known to this version of CMake are:
|
||||
Compiler mode is at least CUDA/C++ 20.
|
||||
|
||||
``cuda_std_23``
|
||||
.. versionadded:: 3.20
|
||||
|
||||
Compiler mode is at least CUDA/C++ 23.
|
||||
|
||||
@@ -18,6 +18,8 @@ The features known to this version of CMake are listed below.
|
||||
High level meta features indicating C++ standard support
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
.. versionadded:: 3.8
|
||||
|
||||
The following meta features indicate general support for the associated
|
||||
language standard. It reflects the language support claimed by the compiler,
|
||||
but it does not necessarily imply complete conformance to that standard.
|
||||
@@ -35,9 +37,13 @@ but it does not necessarily imply complete conformance to that standard.
|
||||
Compiler mode is at least C++ 17.
|
||||
|
||||
``cxx_std_20``
|
||||
.. versionadded:: 3.12
|
||||
|
||||
Compiler mode is at least C++ 20.
|
||||
|
||||
``cxx_std_23``
|
||||
.. versionadded:: 3.20
|
||||
|
||||
Compiler mode is at least C++ 23.
|
||||
|
||||
Low level individual compile features
|
||||
|
||||
@@ -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
|
||||
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``
|
||||
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.
|
||||
|
||||
``c_std_17``
|
||||
.. versionadded:: 3.21
|
||||
|
||||
Compiler mode is at least C 17.
|
||||
|
||||
``c_std_23``
|
||||
.. versionadded:: 3.21
|
||||
|
||||
Compiler mode is at least C 23.
|
||||
|
||||
Low level individual compile features
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
``c_function_prototypes``
|
||||
Function prototypes, as defined in ``ISO/IEC 9899:1990``.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user