Skip to content

Commit

Permalink
Fix toolset name for VS2017
Browse files Browse the repository at this point in the history
  • Loading branch information
KindDragon committed Feb 20, 2017
1 parent 1abc59c commit 8a26c90
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
4 changes: 2 additions & 2 deletions include/boost/config/auto_link.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,8 @@ BOOST_LIB_VERSION: The Boost version, in the form x_y, for Boost version x.y.

# elif defined(BOOST_MSVC)

// vc15:
# define BOOST_LIB_TOOLSET "vc150"
// vc141:
# define BOOST_LIB_TOOLSET "vc141"

# elif defined(__BORLANDC__)

Expand Down
16 changes: 9 additions & 7 deletions include/boost/config/compiler/visualc.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@
# define BOOST_NO_CXX11_CONSTEXPR
#endif

// C++14 features supported by VC++ 15 Preview 5
// C++14 features supported by VC++ 15 Preview 5 (aka 2017)
//
#if (_MSC_VER < 1910)
# define BOOST_NO_CXX14_AGGREGATE_NSDMI
Expand Down Expand Up @@ -270,11 +270,11 @@
# define BOOST_COMPILER_VERSION evc9
# elif _MSC_VER < 1700
# define BOOST_COMPILER_VERSION evc10
# elif _MSC_VER < 1800
# define BOOST_COMPILER_VERSION evc11
# elif _MSC_VER < 1900
# elif _MSC_VER < 1800
# define BOOST_COMPILER_VERSION evc11
# elif _MSC_VER < 1900
# define BOOST_COMPILER_VERSION evc12
# elif _MSC_VER < 2000
# elif _MSC_VER < 2000
# define BOOST_COMPILER_VERSION evc14
# else
# if defined(BOOST_ASSERT_CONFIG)
Expand All @@ -299,12 +299,14 @@
# define BOOST_COMPILER_VERSION 9.0
# elif _MSC_VER < 1700
# define BOOST_COMPILER_VERSION 10.0
# elif _MSC_VER < 1800
# elif _MSC_VER < 1800
# define BOOST_COMPILER_VERSION 11.0
# elif _MSC_VER < 1900
# define BOOST_COMPILER_VERSION 12.0
# elif _MSC_VER < 2000
# elif _MSC_VER < 1910
# define BOOST_COMPILER_VERSION 14.0
# elif _MSC_VER < 2000
# define BOOST_COMPILER_VERSION 14.1
# else
# define BOOST_COMPILER_VERSION _MSC_VER
# endif
Expand Down

0 comments on commit 8a26c90

Please sign in to comment.