summaryrefslogtreecommitdiffstats
path: root/Help/variable/CMAKE_LANG_STANDARD.rst
blob: 0c41e196817607b88118180851a1c556126ca434 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
CMAKE_<LANG>_STANDARD
---------------------

The variations are:

* :variable:`CMAKE_C_STANDARD`
* :variable:`CMAKE_CXX_STANDARD`
* :variable:`CMAKE_CUDA_STANDARD`
* :variable:`CMAKE_HIP_STANDARD`
* :variable:`CMAKE_OBJC_STANDARD`
* :variable:`CMAKE_OBJCXX_STANDARD`

Default values for :prop_tgt:`<LANG>_STANDARD` target properties if set when a
target is created.

For supported CMake versions see the respective pages.

See the :manual:`cmake-compile-features(7)` manual for information on
compile features and a list of supported compilers.