diff options
author | Brad King <brad.king@kitware.com> | 2021-07-07 13:29:23 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2021-07-07 13:30:12 (GMT) |
commit | 41c5e0ab2a3e99a3afd9d46671dd9ba694b253b7 (patch) | |
tree | 0f9b65e225dd9934376aec8f8e1a6b98e4804066 /Help | |
parent | a1d0693175ff68f31b2280b86fc4f64913fe8ce8 (diff) | |
parent | 5650bebc2fa19db4572b6e445c8b28ee9e733732 (diff) | |
download | CMake-41c5e0ab2a3e99a3afd9d46671dd9ba694b253b7.zip CMake-41c5e0ab2a3e99a3afd9d46671dd9ba694b253b7.tar.gz CMake-41c5e0ab2a3e99a3afd9d46671dd9ba694b253b7.tar.bz2 |
Merge topic 'help_cxxstd' into release-3.21
5650bebc2f Help: Note CXX_STANDARD values added vs. CMake version
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6305
Diffstat (limited to 'Help')
-rw-r--r-- | Help/prop_tgt/CXX_STANDARD.rst | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/Help/prop_tgt/CXX_STANDARD.rst b/Help/prop_tgt/CXX_STANDARD.rst index be0dab5..b10d201 100644 --- a/Help/prop_tgt/CXX_STANDARD.rst +++ b/Help/prop_tgt/CXX_STANDARD.rst @@ -11,7 +11,31 @@ flag such as ``-std=gnu++11`` to the compile line. For compilers that 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``, ``17``, ``20``, ``23``. +Supported values are: + +``98`` + C++98 + +``11`` + C++11 + +``14`` + C++14 + +``17`` + .. versionadded:: 3.8 + + C++17 + +``20`` + .. versionadded:: 3.12 + + C++20 + +``23`` + .. versionadded:: 3.20 + + C++23 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 |