mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-23 22:58:37 -05:00
Merge topic 'cpp23'
9f3c70a333CUDA, CXX, OBJCXX: C++23 support with Clang 12af7e1545c8CUDA, CXX: Remove HAS_FULL_SUPPORT for C++17 and 20 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5576
This commit is contained in:
@@ -30,3 +30,6 @@ The features known to this version of CMake are:
|
||||
|
||||
``cuda_std_20``
|
||||
Compiler mode is at least CUDA/C++ 20.
|
||||
|
||||
``cuda_std_23``
|
||||
Compiler mode is at least CUDA/C++ 23.
|
||||
|
||||
@@ -37,6 +37,8 @@ but it does not necessarily imply complete conformance to that standard.
|
||||
``cxx_std_20``
|
||||
Compiler mode is at least C++ 20.
|
||||
|
||||
``cxx_std_23``
|
||||
Compiler mode is at least C++ 23.
|
||||
|
||||
Low level individual compile features
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
@@ -9,7 +9,7 @@ This property specifies the CUDA/C++ standard whose features are requested
|
||||
to build this target. For some compilers, this results in adding a
|
||||
flag such as ``-std=gnu++11`` to the compile line.
|
||||
|
||||
Supported values are ``98``, ``03``, ``11``, ``14``, ``17``, ``20``.
|
||||
Supported values are ``98``, ``03``, ``11``, ``14``, ``17``, ``20``, ``23``.
|
||||
|
||||
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
|
||||
|
||||
@@ -11,7 +11,7 @@ flag such as ``-std=gnu++11`` to the compile line. For compilers that
|
||||
have no notion of a standard level, such as Microsoft Visual C++ before
|
||||
2015 Update 3, this has no effect.
|
||||
|
||||
Supported values are ``98``, ``11``, ``14``, ``17``, and ``20``.
|
||||
Supported values are ``98``, ``11``, ``14``, ``17``, ``20``, ``23``.
|
||||
|
||||
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
|
||||
|
||||
@@ -9,7 +9,7 @@ This property specifies the ObjC++ standard whose features are requested
|
||||
to build this target. For some compilers, this results in adding a
|
||||
flag such as ``-std=gnu++11`` to the compile line.
|
||||
|
||||
Supported values are ``98``, ``11``, ``14``, ``17``, and ``20``.
|
||||
Supported values are ``98``, ``11``, ``14``, ``17``, ``20``, ``23``.
|
||||
|
||||
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
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
cpp-cuda-23
|
||||
-----------
|
||||
|
||||
* :prop_tgt:`CXX_STANDARD`, :prop_tgt:`CUDA_STANDARD`,
|
||||
:prop_tgt:`OBJCXX_STANDARD` and the
|
||||
:manual:`Compile Features <cmake-compile-features(7)>` functionality gained
|
||||
support for C++23.
|
||||
Reference in New Issue
Block a user