diff options
author | Brad King <brad.king@kitware.com> | 2017-07-14 13:17:05 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-07-17 14:48:43 (GMT) |
commit | 131c721f542cd6f8805967d847965510172a2c6b (patch) | |
tree | 17bc0f7b78eef874be23de8e6877547ddfaa18b9 /Source/cmGlobalVisualStudioGenerator.h | |
parent | cef77f06878371cf7615bf4dd3da7cc3ba257878 (diff) | |
download | CMake-131c721f542cd6f8805967d847965510172a2c6b.zip CMake-131c721f542cd6f8805967d847965510172a2c6b.tar.gz CMake-131c721f542cd6f8805967d847965510172a2c6b.tar.bz2 |
MSVC: Add flags for C++ language standards
Visual Studio 2015 Update 3 introduced the notion of language standard
levels to MSVC. The language standard level is defined in `_MSVC_LANG`
instead of `__cplusplus`. It also added support for the `-std:c++14`
and `-std:c++latest` flags, although the compiler defaults to its C++14
mode anyway. Visual Studio 2017 Update 3 will introduce support for the
`-std:c++17` flag.
Fixes: #16482
Diffstat (limited to 'Source/cmGlobalVisualStudioGenerator.h')
0 files changed, 0 insertions, 0 deletions