Last active
August 14, 2018 19:34
-
-
Save Jackarain/4608619 to your computer and use it in GitHub Desktop.
常用boost编译命令.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bjam --without-graph --without-graph_parallel --without-math --without-wave -s BZIP2_SOURCE=D:\bzip2-1.0.6 -s ZLIB_SOURCE=D:\zlib-1.2.7 debug release stage link=static runtime-link=static -j8 | |
bjam --without-graph --without-graph_parallel --without-math --without-wave -s BZIP2_SOURCE=D:\bzip2-1.0.6 -s ZLIB_SOURCE=D:\zlib-1.2.7 debug release stage link=static runtime-link=shared -j8 | |
bjam --without-graph --without-graph_parallel --without-math --without-wave -s BZIP2_SOURCE=D:\bzip2-1.0.6 -s ZLIB_SOURCE=D:\zlib-1.2.7 debug release stage link=shared runtime-link=shared -j8 | |
bjam --without-graph --without-graph_parallel --without-math --without-wave -s BZIP2_SOURCE=D:\bzip2-1.0.6 -s ZLIB_SOURCE=D:\zlib-1.2.7 debug release stage link=shared runtime-link=shared -j8 threading=single | |
bjam --without-graph --without-graph_parallel --without-math --without-wave -s BZIP2_SOURCE=D:\bzip2-1.0.6 -s ZLIB_SOURCE=D:\zlib-1.2.7 debug release stage link=static runtime-link=shared -j8 threading=single | |
bjam --without-graph --without-graph_parallel --without-math --without-wave -s BZIP2_SOURCE=D:\bzip2-1.0.6 -s ZLIB_SOURCE=D:\zlib-1.2.7 debug release stage link=shared runtime-link=shared -j8 threading=single | |
把上面内容保存成.bat, 转到boost目录下, 执行后, 生成的lib便在boost/stage/lib下面. | |
bjam address-model=64 --without-graph --without-graph_parallel --without-math --without-wave --without-test --without-iostreams --without-locale --without-log --without-mpi --without-python --without-serialization --without-stacktrace --without-type_erasure --without-timer --without-signals --without-contract --without-container debug release stage link=static runtime-link=static -j8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment