Merge topic 'cpp23'

9f3c70a333 CUDA, CXX, OBJCXX: C++23 support with Clang 12
af7e1545c8 CUDA, 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:
Brad King
2020-12-10 11:59:50 +00:00
committed by Kitware Robot
21 changed files with 80 additions and 46 deletions
@@ -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
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+7
View File
@@ -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.