开发者

how to compile boost thread library

I want to compile only the thread and regular expresession library of boost and I want both static and dynamic libs. C开发者_运维知识库ould you please let us know how to do that?


You can use bjam to build libraries. Just invoke it in your boost folder.

With parameters

bjam toolset={your toolset} variant={release|debug} threading=multi link={static|shared} {library name}

Just replace values from {} with values of your choice. For toolset name you can check {your boost dir}\tools\build\v2\user-config.jam (you can set your toolset there and you will don't have to write it in command line).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜