开发者

How to remove a VS command line switch

When I set additional compiler options for a project in Visual Studio 2008, they propagate to all files. If I then set开发者_开发知识库 additional options for a specific file, they are added to the project's command line and additional options. How can I compile an individual file without the project-wide options?


It looks like your problem is that there's no way to negate /callcap for the one source file where you don't want it. Ugly as it is, you could always place that one source file into a separate static library.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜