diff options
author | Brad King <brad.king@kitware.com> | 2020-11-13 14:43:01 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2020-11-13 14:43:08 (GMT) |
commit | eb73f343f01ef5eb9bd07285ea67304cecf51a3f (patch) | |
tree | 78c70726c76f353a70e4b188b922c85af4d878d3 /Help/prop_tgt | |
parent | ef8c93cd60f4f0209df6b692e211f2128d0c5eb6 (diff) | |
parent | 48645cabe38f47b9468d5ac22a1001d3dfbefb78 (diff) | |
download | CMake-eb73f343f01ef5eb9bd07285ea67304cecf51a3f.zip CMake-eb73f343f01ef5eb9bd07285ea67304cecf51a3f.tar.gz CMake-eb73f343f01ef5eb9bd07285ea67304cecf51a3f.tar.bz2 |
Merge topic 'doc-cstd'
48645cabe3 Help: MSVC now has C standard level flags
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5500
Diffstat (limited to 'Help/prop_tgt')
-rw-r--r-- | Help/prop_tgt/C_STANDARD.rst | 4 | ||||
-rw-r--r-- | Help/prop_tgt/C_STANDARD_REQUIRED.rst | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/Help/prop_tgt/C_STANDARD.rst b/Help/prop_tgt/C_STANDARD.rst index 999a9e7..3f0d242 100644 --- a/Help/prop_tgt/C_STANDARD.rst +++ b/Help/prop_tgt/C_STANDARD.rst @@ -8,8 +8,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 C standard level, such as all versions of -MSVC known as of this version of CMake, this has no effect. +have no notion of a C standard level, such as Microsoft Visual C++ before +VS 16.7, this property has no effect. Supported values are ``90``, ``99`` and ``11``. diff --git a/Help/prop_tgt/C_STANDARD_REQUIRED.rst b/Help/prop_tgt/C_STANDARD_REQUIRED.rst index 55bff04..8059e3a 100644 --- a/Help/prop_tgt/C_STANDARD_REQUIRED.rst +++ b/Help/prop_tgt/C_STANDARD_REQUIRED.rst @@ -9,8 +9,8 @@ If this property is set to ``ON``, then the value of the :prop_tgt:`C_STANDARD` target property is treated as a requirement. If this property is ``OFF`` or unset, the :prop_tgt:`C_STANDARD` target property is treated as optional and may "decay" to a previous standard if the requested is -not available. For compilers that have no notion of a standard level, such as -MSVC 1800 (Visual Studio 2013) and lower, this has no effect. +not available. For compilers that have no notion of a C standard level, such +as Microsoft Visual C++ before VS 16.7, this property has no effect. See the :manual:`cmake-compile-features(7)` manual for information on compile features and a list of supported compilers. |