summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-05-22 07:41:13 (GMT)
committerStephen Kelly <steveire@gmail.com>2014-05-22 15:59:51 (GMT)
commitb4d33f648465e0b4468cc20a1bbceb67e90fb65c (patch)
tree56f52ff76ef8039d1c882ee26440532cd2e2a959
parent3ea9bde8450a28b58730230e9e73e4b8d439f701 (diff)
downloadCMake-b4d33f648465e0b4468cc20a1bbceb67e90fb65c.zip
CMake-b4d33f648465e0b4468cc20a1bbceb67e90fb65c.tar.gz
CMake-b4d33f648465e0b4468cc20a1bbceb67e90fb65c.tar.bz2
Features: Add missing variable reference in docs.
-rw-r--r--Help/prop_tgt/CXX_EXTENSIONS.rst4
-rw-r--r--Help/prop_tgt/C_EXTENSIONS.rst4
2 files changed, 8 insertions, 0 deletions
diff --git a/Help/prop_tgt/CXX_EXTENSIONS.rst b/Help/prop_tgt/CXX_EXTENSIONS.rst
index b9c9931..770f6ff 100644
--- a/Help/prop_tgt/CXX_EXTENSIONS.rst
+++ b/Help/prop_tgt/CXX_EXTENSIONS.rst
@@ -6,3 +6,7 @@ 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 initialized by the value of
+the :variable:`CMAKE_CXX_EXTENSIONS` variable if it is set when a target
+is created.
diff --git a/Help/prop_tgt/C_EXTENSIONS.rst b/Help/prop_tgt/C_EXTENSIONS.rst
index 246e93d..b0c5c4c 100644
--- a/Help/prop_tgt/C_EXTENSIONS.rst
+++ b/Help/prop_tgt/C_EXTENSIONS.rst
@@ -6,3 +6,7 @@ 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=gnu11`` instead of ``-std=c11`` to the compile line.
+
+This property is initialized by the value of
+the :variable:`CMAKE_C_EXTENSIONS` variable if it is set when a target
+is created.