Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
CMake
CMake
Commits
8f146c45
Commit
8f146c45
authored
Mar 26, 2018
by
Brad King
Browse files
Features: Activate C++ 20 support for MSVC 19.12.25835+
parent
7fe580a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Modules/Compiler/MSVC-CXX.cmake
View file @
8f146c45
...
...
@@ -22,6 +22,10 @@ if ((CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 19.0.24215.1 AND
set
(
CMAKE_CXX17_STANDARD_COMPILE_OPTION
"-std:c++latest"
)
set
(
CMAKE_CXX17_EXTENSION_COMPILE_OPTION
"-std:c++latest"
)
endif
()
if
(
CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 19.12.25835
)
set
(
CMAKE_CXX20_STANDARD_COMPILE_OPTION
"-std:c++latest"
)
set
(
CMAKE_CXX20_EXTENSION_COMPILE_OPTION
"-std:c++latest"
)
endif
()
__compiler_check_default_language_standard
(
CXX 19.0 14
)
...
...
Brad King
@brad.king
mentioned in commit
1b6ec4b9
·
Apr 02, 2018
mentioned in commit
1b6ec4b9
mentioned in commit 1b6ec4b9e34a06c047cb41245587673959b5b591
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment