-
Notifications
You must be signed in to change notification settings - Fork 10
Setting up Windows build enviroment
Matus Kysel edited this page Aug 21, 2018
·
4 revisions
First download the following software:
Run following commands in x64 Native Tools Command Prompt for VS 2017:
perl Configure VC-WIN64A
ms\do_win64a
nmake -f ms\nt.mak
Run following commands in x64 Native Tools Command Prompt for VS 2017:
bootstrap.bat
Then edit project-config.jam to something like this:
import option ;
using msvc : 14.1 : "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\bin\HostX86\x86\cl.exe";
option.set keep-going : false ;
and then build boost
b2 -a toolset=msvc-14.1 address-model=64 link=static variant=release --build-type=complete stage
cmake -G "Visual Studio 15 2017 Win64" . -DBOOST_ROOT= -DOPENSSL_ROOT_DIR= -DFULL_STATIC_BUILD=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=