BOOST 编译

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

posted on 2015-02-06 18:50  Earvin  阅读(209)  评论(0编辑  收藏  举报

导航