summaryrefslogtreecommitdiffstats
path: root/Help/prop_tgt/CXX_EXTENSIONS.rst
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-10-13 00:00:24 (GMT)
committerStephen Kelly <steveire@gmail.com>2014-04-07 14:48:44 (GMT)
commit913394af249d6b1892a6e609d2abfed001fa1dc4 (patch)
tree484096975102a7da96f95e184d48aff7f6393492 /Help/prop_tgt/CXX_EXTENSIONS.rst
parent8238a6cd5d2867e709e87a752e0a24c7c2bf28f0 (diff)
downloadCMake-913394af249d6b1892a6e609d2abfed001fa1dc4.zip
CMake-913394af249d6b1892a6e609d2abfed001fa1dc4.tar.gz
CMake-913394af249d6b1892a6e609d2abfed001fa1dc4.tar.bz2
cmTarget: Add CXX_STANDARD and CXX_EXTENSION target properties.
These are used to determine whether to add -std=c++11, -std=gnu++11 etc flags on the compile line.
Diffstat (limited to 'Help/prop_tgt/CXX_EXTENSIONS.rst')
-rw-r--r--Help/prop_tgt/CXX_EXTENSIONS.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/Help/prop_tgt/CXX_EXTENSIONS.rst b/Help/prop_tgt/CXX_EXTENSIONS.rst
new file mode 100644
index 0000000..b9c9931
--- /dev/null
+++ b/Help/prop_tgt/CXX_EXTENSIONS.rst
@@ -0,0 +1,8 @@
+CXX_EXTENSIONS
+--------------
+
+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.