1.Windows 平台编译
环境
Windows 10
Visual Studio 2015
boost 1.64
Visual Studio 2015
boost 1.64
步骤
直接执行
bootstrap.bat
之后直接运行 bjam.exe,或者指定编译命令
指定msvc版本14.0对应的是vs2015,--stagedir是指定编译后存放的目录
./bjam.exe stage --toolset=msvc-14.0 --without-graph --without-graph_parallel --stagedir="E:\boost_1_60_0\bin\vc14" link=static runtime-link=shared runtime-link=static threading=multi debug release
--without-graph --without-graph_parallel 指定不编译的库
等待库编译....
编译好后在VS中设置包含目录和库目录即可