diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-06-14 19:00:52 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-06-14 19:00:52 +0000 |
commit | 393664dfb259cb9acb6c98816304f164bd553659 (patch) | |
tree | d82c84c3120751035aebc6fd5151e0ebdb2bd385 /share/cmake-3.22/Help/prop_tgt/CXX_EXTENSIONS.rst | |
parent | de5fa1c66d3bdcbf2bbc62d2504ec6b0b0fb74e1 (diff) | |
parent | 001ed46e3703c78cbc3838adfe4c14ba279f9ff7 (diff) | |
download | linux-x86-393664dfb259cb9acb6c98816304f164bd553659.tar.gz |
Snap for 8997548 from 001ed46e3703c78cbc3838adfe4c14ba279f9ff7 to androidx-paging-releaseandroidx-paging-release
Change-Id: I16c4afe8c8418013ba71465e1a6aa39006d6a233
Diffstat (limited to 'share/cmake-3.22/Help/prop_tgt/CXX_EXTENSIONS.rst')
-rw-r--r-- | share/cmake-3.22/Help/prop_tgt/CXX_EXTENSIONS.rst | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/share/cmake-3.22/Help/prop_tgt/CXX_EXTENSIONS.rst b/share/cmake-3.22/Help/prop_tgt/CXX_EXTENSIONS.rst new file mode 100644 index 0000000..9b52504 --- /dev/null +++ b/share/cmake-3.22/Help/prop_tgt/CXX_EXTENSIONS.rst @@ -0,0 +1,21 @@ +CXX_EXTENSIONS +-------------- + +.. versionadded:: 3.1 + +Boolean specifying whether compiler specific extensions are requested. + +This property specifies whether compiler specific extensions should be +used. For some compilers, this results in adding a flag such +as ``-std=gnu++11`` instead of ``-std=c++11`` to the compile line. This +property is ``ON`` by default. The basic C++ standard level is +controlled by the :prop_tgt:`CXX_STANDARD` target property. + +See the :manual:`cmake-compile-features(7)` manual for information on +compile features and a list of supported compilers. + +This property is initialized by the value of +the :variable:`CMAKE_CXX_EXTENSIONS` variable if set when a target is created +and otherwise by the value of +:variable:`CMAKE_CXX_EXTENSIONS_DEFAULT <CMAKE_<LANG>_EXTENSIONS_DEFAULT>` (see +:policy:`CMP0128`). |