如何减少 Visual Studio 的构建时间

发布于 2024-12-25 06:02:14 字数 222 浏览 3 评论 0原文

我正在研究 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

紫南 2025-01-01 06:02:14

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文