diff options
author | Christian Pfeiffer <cpfeiffer@live.de> | 2017-10-23 14:10:03 +0200 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-10-23 08:23:53 -0400 |
commit | e058766953be2c7f28fba5f59accf68d7e1640e4 (patch) | |
tree | 3a50a35665b613aa734722c44301544295448cc6 | |
parent | a91eb5e41f486628910f189bf40403568af013c7 (diff) | |
download | cmake-e058766953be2c7f28fba5f59accf68d7e1640e4.tar.gz |
Help: Correct <LANG>_STANDARD help w.r.t. MSVC
Fixes: #17380
-rw-r--r-- | Help/prop_tgt/CXX_STANDARD.rst | 3 | ||||
-rw-r--r-- | Help/prop_tgt/C_STANDARD.rst | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/Help/prop_tgt/CXX_STANDARD.rst b/Help/prop_tgt/CXX_STANDARD.rst index 30a612db64..0762033d40 100644 --- a/Help/prop_tgt/CXX_STANDARD.rst +++ b/Help/prop_tgt/CXX_STANDARD.rst @@ -6,7 +6,8 @@ The C++ standard whose features are requested to build this target. This property specifies the C++ standard whose features are requested to build this target. For some compilers, this results in adding a flag such as ``-std=gnu++11`` to the compile line. For compilers that -have no notion of a standard level, such as MSVC, this has no effect. +have no notion of a standard level, such as Microsoft Visual C++ before +2015 Update 3, this has no effect. Supported values are ``98``, ``11``, ``14``, and ``17``. diff --git a/Help/prop_tgt/C_STANDARD.rst b/Help/prop_tgt/C_STANDARD.rst index 815a686760..e7f7904f27 100644 --- a/Help/prop_tgt/C_STANDARD.rst +++ b/Help/prop_tgt/C_STANDARD.rst @@ -6,7 +6,8 @@ The C standard whose features are requested to build this target. This property specifies the C standard whose features are requested to build this target. For some compilers, this results in adding a flag such as ``-std=gnu11`` to the compile line. For compilers that -have no notion of a standard level, such as MSVC, this has no effect. +have no notion of a standard level, such as Microsoft Visual C++ before +2015 Update 3, this has no effect. Supported values are ``90``, ``99`` and ``11``. |