boost安装

源码

https://boostorg.jfrog.io/artifactory/main/release/1.76.0/source/

生成编译工具

点击bootstrap.bat即可生成b2.exe编译工具。

如需 gcc 编译,修改project-config.jam,将using msvc ;,改为using gcc ;

编译

msvc(默认)

b2 -j8 stage --build-dir=.\tmp --toolset=msvc --without-python link=static runtime-link=shared runtime-link=static threading=multi debug release

gcc

b2 -j8 stage --build-dir=.\tmp --toolset=gcc --without-python link=static runtime-link=shared runtime-link=static threading=multi debug release

完整参考

https://www.cnblogs.com/Chary/p/13476175.html


本博客所有文章除特别声明外,均采用 CC BY-SA 4.0 协议 ,转载请注明出处!