summaryrefslogtreecommitdiffstats
path: root/Help/variable/CMAKE_LANG_EXTENSIONS.rst
diff options
context:
space:
mode:
authorRaul Tambre <raul@tambre.ee>2021-08-28 15:00:28 (GMT)
committerRaul Tambre <raul@tambre.ee>2021-09-28 18:24:53 (GMT)
commit3feff8379b05332035319de4f733549695fcc6de (patch)
tree8c079472148ff2b873e5a3771008355f9ef4a109 /Help/variable/CMAKE_LANG_EXTENSIONS.rst
parent09dd52c9d2684e933a3e013abc4f6848cb1befbf (diff)
downloadCMake-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_EXTENSIONS.rst')
-rw-r--r--Help/variable/CMAKE_LANG_EXTENSIONS.rst19
1 files changed, 19 insertions, 0 deletions
diff --git a/Help/variable/CMAKE_LANG_EXTENSIONS.rst b/Help/variable/CMAKE_LANG_EXTENSIONS.rst
new file mode 100644
index 0000000..84e5e3a
--- /dev/null
+++ b/Help/variable/CMAKE_LANG_EXTENSIONS.rst
@@ -0,0 +1,19 @@
+CMAKE_<LANG>_EXTENSIONS
+-----------------------
+
+The variations are:
+
+* :variable:`CMAKE_C_EXTENSIONS`
+* :variable:`CMAKE_CXX_EXTENSIONS`
+* :variable:`CMAKE_CUDA_EXTENSIONS`
+* :variable:`CMAKE_HIP_EXTENSIONS`
+* :variable:`CMAKE_OBJC_EXTENSIONS`
+* :variable:`CMAKE_OBJCXX_EXTENSIONS`
+
+Default values for :prop_tgt:`<LANG>_EXTENSIONS` 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.