I use MSBuild.exe to build my Visual C++ Solution. One project in the solution compiles to a static library (let’s called it MyLib.lib), and the many other projects are small tools which link to MyLib.lib.
I compile it like this:
msbuild MySolution.sln /p:Configuration=Release /p:Platform=”Win32″ /maxcpucount:4
However I can see that each project is build sequentially. There is always only one MSBuild.exe running.
Am I doing anything wrong?
[edit: I’m using Visual Studio 2008]
Only projects that don’t depend on each other can be built in parallel. Clearly that’s not your case, can’t build the tool until the .lib is available.
EDIT: you are not using VS2010. For VS2008 you should use vcbuild.exe. Enable concurrent builds with /M4