https://github.com/Kitware/CMake
Raw File
Tip revision: 352ea99bbacf6e57bca47f43725d98b2a4a0b87d authored by Brad King on 23 February 2022, 14:22:31 UTC
CMake 3.23.0-rc2
Tip revision: 352ea99
CMAKE_LANG_EXTENSIONS.rst
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 the compiler's default setting see
:variable:`CMAKE_<LANG>_EXTENSIONS_DEFAULT`.

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.
back to top