1.用VC命令行在boost目录下执行bootstrap.bat会在boost目录下生成bjam.exe

2.编译boost

  编译32位static lib:

    bjam stage --toolset=msvc-12.0 --stagedir="D:\third_party\boost_1_58_0\output\staticlib\x86\vc12" link=static runtime-link=static threading=multi   debug release

  编译64位static lib:

    bjam stage --toolset=msvc-12.0 --stagedir="D:\third_party\boost_1_58_0\output\staticlib\x64\vc12"  address-model=64 link=static   runtime-  link=static threading=multi debug release

 

 

boost编译选项参考:http://www.360doc.com/content/12/1225/10/2036337_256127778.shtml

相关文章:

  • 2021-10-17
  • 2021-04-20
  • 2021-07-08
  • 2022-01-19
  • 2021-10-12
  • 2021-07-03
  • 2021-07-24
  • 2021-10-07
猜你喜欢
  • 2022-01-13
  • 2021-12-26
  • 2021-07-13
  • 2022-12-23
  • 2021-08-24
相关资源
相似解决方案