一键编译Boost批处理
一键编译Boost批处理
- set localPath="%cd%"
- cd /d "%VS100COMNTOOLS%..\..\VC\"
- call "%cd%\bin\vcvars32.bat"
- cd /d %localPath%
- call bootstrap.bat
- bjam --toolset=msvc-10.0 --build-type=complete stage
下载boost_1_47_0 官方 http://www.boost.org
解压zip到当前目录
在Boost_1_47_0目录下新建builder.bat文件
复制上面代码到builder.bat,保存
双击运行builder.bat,大约2小时.ok
评论暂时关闭