1OBJCXX_EXTENSIONS
2-----------------
3
4.. versionadded:: 3.16
5
6Boolean specifying whether compiler specific extensions are requested.
7
8This property specifies whether compiler specific extensions should be
9used.  For some compilers, this results in adding a flag such
10as ``-std=gnu++11`` instead of ``-std=c++11`` to the compile line.  This
11property is ``ON`` by default. The basic ObjC++ standard level is
12controlled by the :prop_tgt:`OBJCXX_STANDARD` target property.
13
14See the :manual:`cmake-compile-features(7)` manual for information on
15compile features and a list of supported compilers.
16
17If the property is not set, and the project has set the :prop_tgt:`CXX_EXTENSIONS`,
18the value of :prop_tgt:`CXX_EXTENSIONS` is set for :prop_tgt:`OBJCXX_EXTENSIONS`.
19
20This property is initialized by the value of
21the :variable:`CMAKE_OBJCXX_EXTENSIONS` variable if set when a target is
22created and otherwise by the value of
23:variable:`CMAKE_OBJCXX_EXTENSIONS_DEFAULT <CMAKE_<LANG>_EXTENSIONS_DEFAULT>`
24(see :policy:`CMP0128`).
25