wiki:cpp:boost-thread-mt
Linux下编译boost库生成 libboost_thread-mt.a 的方法
boost库的编译的Properties:属性
variant=debug|release Select the build variant link=static|shared Whether to build static or shared libraries threading=single|multi Whether to build single or multithreaded binaries runtime-link=static|shared Whether to link to static or shared C and C++ runtime.
即使添加了 threading=mulit 还是无法生成 libboost_thread-mt.a , 只会生成 libboost_thread.a
那只有用 complete 来生成了
./bjam --build-type=complete --layout=tagged
wiki/cpp/boost-thread-mt.txt · 最后更改: 2023/01/03 15:25 由 127.0.0.1
评论