如何在Visual Studio 2010中进行并行构建? [英] How can I do a parallel build in Visual Studio 2010?
本文介绍了如何在Visual Studio 2010中进行并行构建?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何使VS 2010一次运行多个C ++编译过程?我的意思是并行构建对象模块;我对一次构建多个项目不感兴趣(我对工具">选项">构建并运行<并行项目构建的最大数量有所了解,但这并不能满足我的要求).
How can I get VS 2010 to run more than one C++ compile process at a time? I mean building object modules in parallel; I'm not interested in building more than one project at a time (I know about Tools > Options > Build and Run < Maximum number of parallel project builds, but that doesn't do what I want).
基本上,我正在寻找Visual Studio的"make -jN"等效物.
Basically, I'm looking for Visual Studio's equivalent of "make -jN".
推荐答案
- 工具->选项
- 项目和解决方案\ VC ++项目设置
- 最大并发C ++编译量
此外,正如Ross Smith在评论中所说,您还需要打开项目的多处理器编译"选项:
Also, as Ross Smith said in the comments, you also need to turn on the "Multiprocessor compilation" option on the project:
- 项目属性
- 配置属性> C/C ++>常规
- 多处理器编译
- 利润!
这篇关于如何在Visual Studio 2010中进行并行构建?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文