开发者

How to remove a VS command line switch

开发者 https://www.devze.com 2023-01-10 14:04 出处:网络
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 pr

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

精彩评论

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