Skip to content

Instantly share code, notes, and snippets.

@madhurjain
Last active May 29, 2018 07:47
Show Gist options
  • Select an option

  • Save madhurjain/ce7cceab88658a6c8ed9379e10967b40 to your computer and use it in GitHub Desktop.

Select an option

Save madhurjain/ce7cceab88658a6c8ed9379e10967b40 to your computer and use it in GitHub Desktop.
Building Boost Library using Visual Studio 2017
  1. Download and Extract Boost
  2. Run bootstrap.bat
  3. Open generated project-config.jam and add path to MSVC 2017 like below
import option ; 
 
using msvc : 14.0 : "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 ; 
  1. Open Developer Command Prompt for VS2017, Go to boost directory and run b2 toolset=msvc-14.0 address-model=32
@afabri
Copy link

afabri commented May 29, 2018

Note that when you call bootstrap.bat from within the VC2017 command prompt there is no need to modify project-config.jam

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment