Spec-Zone.ru › CMake

<LANG>_EXTENSIONS

The variations are:

  • C_EXTENSIONS
  • CXX_EXTENSIONS
  • CUDA_EXTENSIONS
  • HIP_EXTENSIONS
  • OBJC_EXTENSIONS
  • OBJCXX_EXTENSIONS

These properties specify whether compiler-specific extensions are requested.

These properties are initialized by the value of the CMAKE_<LANG>_EXTENSIONS variable if it is set when a target is created and otherwise by the value of CMAKE_<LANG>_EXTENSIONS_DEFAULT (see CMP0128).

For supported CMake versions see the respective pages. To control language standard versions see <LANG>_STANDARD.

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

© 2000–2026 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/latest/prop_tgt/LANG_EXTENSIONS.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API