CMAKE_<LANG>_EXTENSIONS — CMake 4.3.3 Documentation

# CMAKE_<LANG>_EXTENSIONS

The variations are:

- `CMAKE_C_EXTENSIONS`

- `CMAKE_CXX_EXTENSIONS`

- `CMAKE_CUDA_EXTENSIONS`

- `CMAKE_HIP_EXTENSIONS`

- `CMAKE_OBJC_EXTENSIONS`

- `CMAKE_OBJCXX_EXTENSIONS`

Default values for `<LANG>_EXTENSIONS` target properties if set when a target is created. For the compiler's default setting see `CMAKE_<LANG>_EXTENSIONS_DEFAULT`.

For supported CMake versions see the respective pages.

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