diff options
author | Brad King <brad.king@kitware.com> | 2021-07-02 12:04:24 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2021-07-02 12:04:32 (GMT) |
commit | c20ce7049c95f01c8dfb20b311c7ae156472498e (patch) | |
tree | cb7e9c252237617b6b721dbcfe7e21c32993357a /Help/prop_tgt | |
parent | b908c4ae0ffd1f2adaebe16804e9b419b7f85bdc (diff) | |
parent | 9c310ff0752913c438660a5f0ffed9f4d905a2b7 (diff) | |
download | CMake-c20ce7049c95f01c8dfb20b311c7ae156472498e.zip CMake-c20ce7049c95f01c8dfb20b311c7ae156472498e.tar.gz CMake-c20ce7049c95f01c8dfb20b311c7ae156472498e.tar.bz2 |
Merge topic 'help_cstd'
9c310ff075 Help: Note C_STANDARD values added in CMake 3.21
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6294
Diffstat (limited to 'Help/prop_tgt')
-rw-r--r-- | Help/prop_tgt/C_STANDARD.rst | 21 |
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 |