开发者

Rebuild without recompiling the precompiled headers

Sometimes I need to perform a rebuild of my project but I don't want the pre-compiled headers to b开发者_运维问答e recompiled every time I do that - sort of defeats the purpose, at least in this case. Is there any way to get Visual Studio to rebuild without recompiling the PCH and compile the PCH as needed (if the rarely changed headers change)


Write a script for it and add it to the tools menu using 'Tools->External Tools...', giving you a solution 'Within the IDE'. Your delete-exe-files script can include the build step as per:

How do I compile a Visual Studio project from the command-line?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜