开发者

Linking to boost unit test framework with boost build

开发者 https://www.devze.com 2022-12-17 21:18 出处:网络
Using boost build, if I can link to a boost python library with this in my jamfile: 开发者_Go百科

Using boost build, if I can link to a boost python library with this in my jamfile:

开发者_Go百科

project myProject : requirement /boost/python//boost_python ;

how can I link to boost test? I have built the boost test library.

I don't want to use file paths since my code is portable. Thanks

Si


If you have standard (or prebuilt) libraries installed in a location which can vary between different machines, you may consider using site-config. Then the site-config can be adapted on each machine but the project Jamfile remains the same.

See the Boost Build documentation: Targets in site-config.jam for details.

0

精彩评论

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