summaryrefslogtreecommitdiffstats
path: root/Help/prop_tgt
diff options
context:
space:
mode:
authorMichael Hirsch <michael@scivision.dev>2021-07-01 00:02:55 (GMT)
committerBrad King <brad.king@kitware.com>2021-07-01 15:58:00 (GMT)
commit9c310ff0752913c438660a5f0ffed9f4d905a2b7 (patch)
tree1defed4e379b622b24fe13a9686ce26f3a236653 /Help/prop_tgt
parente610e99ad34a545ac67f1977e78ea59a52fdcf79 (diff)
downloadCMake-9c310ff0752913c438660a5f0ffed9f4d905a2b7.zip
CMake-9c310ff0752913c438660a5f0ffed9f4d905a2b7.tar.gz
CMake-9c310ff0752913c438660a5f0ffed9f4d905a2b7.tar.bz2
Help: Note C_STANDARD values added in CMake 3.21
Issue: #22366
Diffstat (limited to 'Help/prop_tgt')
-rw-r--r--Help/prop_tgt/C_STANDARD.rst21
1 files changed, 20 insertions, 1 deletions
diff --git a/Help/prop_tgt/C_STANDARD.rst b/Help/prop_tgt/C_STANDARD.rst
index e22b775..ecba2a8 100644
--- a/Help/prop_tgt/C_STANDARD.rst
+++ b/Help/prop_tgt/C_STANDARD.rst
@@ -11,7 +11,26 @@ flag such as ``-std=gnu11`` to the compile line. 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.
-Supported values are ``90``, ``99``, ``11``, ``17``, ``23``.
+Supported values are:
+
+``90``
+ C89/C90
+
+``99``
+ C99
+
+``11``
+ C11
+
+``17``
+ .. versionadded:: 3.21
+
+ C17
+
+``23``
+ .. versionadded:: 3.21
+
+ C23
If the value requested does not result in a compile flag being added for
the compiler in use, a previous standard flag will be added instead. This