首页 > 技术文章 > vs2015编译boost 64位

maxpak 2015-11-23 13:39 原文

---恢复内容开始---

step 1: 打开Developer Command Prompt for VS2015命令行窗口

step 2: 执行bootstrap.bat,产生bjam.exe

step 3:

  全部编译的命令行:bjam --toolset=msvc-14.0 --build-type=complete stage
  部分编译的命令行:bjam --toolset=msvc-14.0 --with-date_time --with-thread
  编译成64位的命令:bjam --toolset=msvc-14.0 address-model=64 --build-type=complete stage
  查看需要编译库的命令行:bjam --show-libraries

     bjam --toolset=msvc-14.0 address-model=64 --with-date_time --with-thread  --with-chrono  link=static runtime-link=static --stagedir="./bin/vs15_64" release

 

---恢复内容结束---

推荐阅读