diff options
author | Cristian Adam <cristian.adam@gmail.com> | 2019-11-11 15:10:19 (GMT) |
---|---|---|
committer | Cristian Adam <cristian.adam@gmail.com> | 2019-11-11 15:10:19 (GMT) |
commit | 665954fa8d2d2e0a74aab78b7d739c0feae5211b (patch) | |
tree | 3ed80776c08b9f2a3e9b000814e8328980ab338c /Help/prop_tgt/OBJCXX_STANDARD_REQUIRED.rst | |
parent | adf863f15e348789e4d20e3d2dd792f35d4f4725 (diff) | |
download | CMake-665954fa8d2d2e0a74aab78b7d739c0feae5211b.zip CMake-665954fa8d2d2e0a74aab78b7d739c0feae5211b.tar.gz CMake-665954fa8d2d2e0a74aab78b7d739c0feae5211b.tar.bz2 |
ObjC: Document ObjC/ObjCXX standard properties / variables
Fixes: #19919
Diffstat (limited to 'Help/prop_tgt/OBJCXX_STANDARD_REQUIRED.rst')
-rw-r--r-- | Help/prop_tgt/OBJCXX_STANDARD_REQUIRED.rst | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Help/prop_tgt/OBJCXX_STANDARD_REQUIRED.rst b/Help/prop_tgt/OBJCXX_STANDARD_REQUIRED.rst new file mode 100644 index 0000000..c330abf --- /dev/null +++ b/Help/prop_tgt/OBJCXX_STANDARD_REQUIRED.rst @@ -0,0 +1,20 @@ +OBJCXX_STANDARD_REQUIRED +------------------------ + +Boolean describing whether the value of :prop_tgt:`OBJCXX_STANDARD` is a requirement. + +If this property is set to ``ON``, then the value of the +:prop_tgt:`OBJCXX_STANDARD` target property is treated as a requirement. If this +property is ``OFF`` or unset, the :prop_tgt:`OBJCXX_STANDARD` target property is +treated as optional and may "decay" to a previous standard if the requested is +not available. + +If the property is not set, and the project has set the :prop_tgt:`CXX_STANDARD_REQUIRED`, +the value of :prop_tgt:`CXX_STANDARD_REQUIRED` is set for :prop_tgt:`OBJCXX_STANDARD_REQUIRED`. + +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_OBJCXX_STANDARD_REQUIRED` variable if it is set when a +target is created. |