diff options
author | Raul Tambre <raul@tambre.ee> | 2021-08-28 15:00:28 (GMT) |
---|---|---|
committer | Raul Tambre <raul@tambre.ee> | 2021-09-28 18:24:53 (GMT) |
commit | 3feff8379b05332035319de4f733549695fcc6de (patch) | |
tree | 8c079472148ff2b873e5a3771008355f9ef4a109 /Help/variable/CMAKE_LANG_STANDARD.rst | |
parent | 09dd52c9d2684e933a3e013abc4f6848cb1befbf (diff) | |
download | CMake-3feff8379b05332035319de4f733549695fcc6de.zip CMake-3feff8379b05332035319de4f733549695fcc6de.tar.gz CMake-3feff8379b05332035319de4f733549695fcc6de.tar.bz2 |
Help: Generic language standard and extension variables documentation
Add generic documentation to improve the discoverability of language-specific
ones and to make it possible to refer to them generically from other language
generic documentation.
Diffstat (limited to 'Help/variable/CMAKE_LANG_STANDARD.rst')
-rw-r--r-- | Help/variable/CMAKE_LANG_STANDARD.rst | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Help/variable/CMAKE_LANG_STANDARD.rst b/Help/variable/CMAKE_LANG_STANDARD.rst new file mode 100644 index 0000000..0c41e19 --- /dev/null +++ b/Help/variable/CMAKE_LANG_STANDARD.rst @@ -0,0 +1,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. |