Skip to content
Snippets Groups Projects
Commit 6f93d2f7 authored by Brad King's avatar Brad King Committed by Kitware Robot
Browse files

Merge topic 'help_cstd' into release-3.21


9c310ff0 Help: Note C_STANDARD values added in CMake 3.21

Acked-by: default avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !6294
parents 07cae3c5 9c310ff0
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment