Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
1  
Note: It's very possible that your project can't be compiled in parallel due to dependencies. –  surfasb Nov 23 '11 at 22:34

1 Answer 1

up vote 2 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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.