summaryrefslogtreecommitdiffstats
path: root/Help/prop_tgt/CXX_STANDARD.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Help/prop_tgt/CXX_STANDARD.rst')
-rw-r--r--Help/prop_tgt/CXX_STANDARD.rst14
1 files changed, 14 insertions, 0 deletions
diff --git a/Help/prop_tgt/CXX_STANDARD.rst b/Help/prop_tgt/CXX_STANDARD.rst
new file mode 100644
index 0000000..e1b6e78
--- /dev/null
+++ b/Help/prop_tgt/CXX_STANDARD.rst
@@ -0,0 +1,14 @@
+CXX_STANDARD
+------------
+
+The C++ standard whose features are required to build this target.
+
+This property specifies the C++ standard whose features are required
+to build this target. For some compilers, this results in adding a
+flag such as ``-std=c++11`` to the compile line.
+
+Supported values are ``98`` and ``11``.
+
+This property is initialized by the value of
+the :variable:`CMAKE_CXX_STANDARD` variable if it is set when a target
+is created.