如何减少 Visual Studio 的构建时间
我正在研究 40 多个相互关联的项目的解决方案。
目前,构建时间约为 30 分钟,我真的很想缩短它。什么是开始缩短构建时间的好地方?
一些背景:我对解决方案的设置不太了解,但我们有很多链接要做(到加密、编解码器库和项目之间)。
该项目的整体大小约为 2.7 GB,然后我们还将其链接到 Boost C++、Intel IPP 7
请帮助为我指明一个好的方向。 谢谢!
I am working on solution with 40+ projects interlinked together.
At the moment, the build time is ~30min, and I really want to shorten it. What would be a good place to start shortening the build time?
Some background: I don't know much about the setup of the solution, but we have a lot of linking to do (to encryption, codec libraries and between projects).
The whole size of the project is ~2.7 GB, then we are also linking it to Boost C++, Intel IPP 7
Please help pointing me in a good direction.
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
C++ 构建时间减少的第一步是增加内存。从 4GB 切换到 12GB 后,我发现链接所有项目的时间急剧下降:从 5:50 降至 1:15。
Step 1 in C++ build time reduction is more memory. After switching from 4GB to 12GB, I saw my link-all-projects time fall off a cliff: from 5:50 to 1:15.