4

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?

Antwortgenossenschaft
  • 1,010
  • 1
  • 10
  • 16
  • 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 Answers1

4

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).

heavyd
  • 62,847
  • 18
  • 155
  • 177