Imported Upstream version 3.25.0
[platform/upstream/cmake.git] / Help / prop_gbl / CMAKE_CUDA_KNOWN_FEATURES.rst
1 CMAKE_CUDA_KNOWN_FEATURES
2 -------------------------
3
4 .. versionadded:: 3.17
5
6 List of CUDA features known to this version of CMake.
7
8 The features listed in this global property may be known to be available to the
9 CUDA compiler.  If the feature is available with the C++ compiler, it will
10 be listed in the :variable:`CMAKE_CUDA_COMPILE_FEATURES` variable.
11
12 The features listed here may be used with the :command:`target_compile_features`
13 command.  See the :manual:`cmake-compile-features(7)` manual for information on
14 compile features and a list of supported compilers.
15
16
17 The features known to this version of CMake are:
18
19 ``cuda_std_03``
20   Compiler mode is at least CUDA/C++ 03.
21
22 ``cuda_std_11``
23   Compiler mode is at least CUDA/C++ 11.
24
25 ``cuda_std_14``
26   Compiler mode is at least CUDA/C++ 14.
27
28 ``cuda_std_17``
29   Compiler mode is at least CUDA/C++ 17.
30
31 ``cuda_std_20``
32   Compiler mode is at least CUDA/C++ 20.
33
34 ``cuda_std_23``
35   .. versionadded:: 3.20
36
37   Compiler mode is at least CUDA/C++ 23.
38
39 ``cuda_std_26``
40   .. versionadded:: 3.25
41
42   Compiler mode is at least CUDA/C++ 26.
43
44 .. include:: CMAKE_LANG_STD_FLAGS.txt