From 9a6f750a482d1d1ebf4281bb7bf8133e547ad438 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 3 May 2018 16:01:02 +0200 Subject: script adaptation for boost 1.67.0 --- tools/boost/build_boost.bat | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tools') diff --git a/tools/boost/build_boost.bat b/tools/boost/build_boost.bat index 927ec05acb..9e1a6403cc 100644 --- a/tools/boost/build_boost.bat +++ b/tools/boost/build_boost.bat @@ -2,14 +2,14 @@ set p1=%1 set p2=%2 if "%p1%" == "" (echo "please specify target platform by adding '86' or '64' parameter to command line!'"&&pause&&goto :EOF) -if "%p2%" == "" (echo "please specify target msvc compiler by adding '10' for MSVC2010 or '12' for MSVC2013 or '14' for MSVC2015 to command line!'"&&pause&&goto :EOF) +if "%p2%" == "" (echo "please specify target msvc compiler by adding '14.1' for MSVC2017 to command line!'"&&pause&&goto :EOF) call bootstrap.bat if /i '%1' == '86' ( call "%VS141COMNTOOLS%\..\..\VC\Auxiliary\Build\vcvars32.bat" - b2 --toolset=msvc-%2.0 runtime-link=shared threading=multi link=static architecture=x86 address-model=32 cxxflags=/Zc:threadSafeInit- + b2 --toolset=msvc-%2 runtime-link=shared threading=multi link=static architecture=x86 address-model=32 cxxflags=/Zc:threadSafeInit- ) else if /i '%1' == '64' ( call "%VS141COMNTOOLS%\..\..\VC\Auxiliary\Build\vcvars64.bat" - b2 --toolset=msvc-%2.0 runtime-link=shared threading=multi link=static architecture=x86 address-model=64 cxxflags=/Zc:threadSafeInit- --stagedir=stage64 + b2 --toolset=msvc-%2 runtime-link=shared threading=multi link=static architecture=x86 address-model=64 cxxflags=/Zc:threadSafeInit- --stagedir=stage64 ) \ No newline at end of file -- cgit v1.2.3