Building agent does not use all CPUs

Hi,Building a solution, using VS2010 Pro, building machine Win2008 R2. I see only one cl.exe process is running, the machine is barely loaded. the same is observed on the rest of agent. Am I missing something in agent config???
3 comments
Comment actions Permalink

Parallel compilation is a feature of a build tool, so such kind of settings are configured inside VS project, not in TeamCity.

I found this page on StackOverflow with some solutions and links:

How to do a parallel build in Visual Studio 2010

0
Comment actions Permalink

sounds reasonable, will check the /MP options in compiler settings.
Thanks

0
Comment actions Permalink

/MP in project and /M in MSBuild settings did the the trick. Thanks!

0

Please sign in to leave a comment.