开发者

Bjam: ignore specific library

Using Visual Studio, it is possible to 'Ignore Spec开发者_运维技巧ific Library' (Project Properties > Configuration Properties > Linker > Input > Ignore Specific Library).

We found this useful in a project. Now we want to build that project using boost-build (bjam), but we need to reproduce that linker behaviour.

Is there any ignore library feature with bjam?


You could set it at the command line

bjam linkflags=/NODEFAULTLIB:xxx

Or from within a jamfile

<linkflags>/NODEFAULTLIB:xxx

Or use Visual Studio's pragma comment feature in your code itself

#pragma comment(linker, "/NODEFAULTLIB:xxx")
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜