Files
CMake/Help/prop_gbl/CMAKE_CUDA_KNOWN_FEATURES.rst
T
Raul Tambre 9f3c70a333 CUDA, CXX, OBJCXX: C++23 support with Clang 12
Clang 12 landed initial support for C++23 language mode flag -std={c|gnu}++2b
in commit 6627a3c2873fdf7ccba1a1573371079be48b36e8.
2020-12-08 18:43:59 +02:00

36 lines
967 B
ReStructuredText

CMAKE_CUDA_KNOWN_FEATURES
-------------------------
.. versionadded:: 3.17
List of CUDA features known to this version of CMake.
The features listed in this global property may be known to be available to the
CUDA compiler. If the feature is available with the C++ compiler, it will
be listed in the :variable:`CMAKE_CUDA_COMPILE_FEATURES` variable.
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:
``cuda_std_03``
Compiler mode is at least CUDA/C++ 03.
``cuda_std_11``
Compiler mode is at least CUDA/C++ 11.
``cuda_std_14``
Compiler mode is at least CUDA/C++ 14.
``cuda_std_17``
Compiler mode is at least CUDA/C++ 17.
``cuda_std_20``
Compiler mode is at least CUDA/C++ 20.
``cuda_std_23``
Compiler mode is at least CUDA/C++ 23.