Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I use Visual Studio 2008 on a bigger project. If some files get compiled, it compiles them one after the other. My computer has 8 cores, except one they are idle. How can I configure Visual Studio, that it makes use of the cores?

share|improve this question
Note: It's very possible that your project can't be compiled in parallel due to dependencies. – surfasb Nov 23 '11 at 22:34
up vote 3 down vote accepted

In Visual Studio go to the Tools->Options menu item. In the options dialog open Projects and Solutions->Build and Run. Change the value for "maximum number of parallel project builds" to 8, or whatever number you want (I believe the default is the number of cores on the machine).

For C++ projects in Visual Studio 2010 you can also enable "Multi-processor compilation" from the C++ General project settings. In VS 2008, the VCBuild.exe helper takes care of this already (see documentation).

share|improve this answer
Thank you very much. /MP makes it much faster and I can see sometimes 100% CPU-usage. That is what I wanted. – Antwortgenossenschaft Nov 25 '11 at 14:00

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .