2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-21 15:02:19 +00:00

Add cxxstd=20 to msvc.jam (msvc-14.2 and above support /std:c++20) (#103)

This commit is contained in:
Peter Dimov
2021-11-18 16:46:00 +02:00
committed by GitHub
parent 3b93835d53
commit aa2cfda382

View File

@@ -1942,6 +1942,7 @@ local rule register-toolset-really ( )
toolset.flags msvc.compile C++FLAGS <cxxstd>14 : "/std:c++14" ;
toolset.flags msvc.compile C++FLAGS <cxxstd>17 : "/std:c++17" ;
toolset.flags msvc.compile C++FLAGS <cxxstd>20 : "/std:c++20" ;
toolset.flags msvc.compile C++FLAGS <cxxstd>latest : "/std:c++latest" ;
# By default 8.0 enables rtti support while prior versions disabled it. We