简体   繁体   English

bjam 与 boost-system 的链接

[英]bjam link against boost-system

What is the correct/portable way to link against the boost-system library in a bjam project?在 bjam 项目中链接 boost-system 库的正确/便携方式是什么?

If an example Jamroot.jam file could be posted that would be great.如果可以发布一个示例 Jamroot.jam 文件,那就太好了。

use-project /boost : /path/to/boost ;
exe thing : thing.cpp /boost//system ;

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM