Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有时我需要重新构建我的项目,但我不希望每次这样做时都重新编译预编译的头文件——这有点违背了目的,至少在这种情况下是这样。有什么方法可以让 Visual Studio 在不重新编译 PCH 的情况下重建并根据需要编译 PCH(如果很少更改的标头更改)
为其编写脚本并使用“工具->外部工具...”将其添加到工具菜单中,从而为您提供“在 IDE 内”的解决方案。您的 delete-exe-files 脚本可以包含以下构建步骤:
如何从命令行编译 Visual Studio 项目?