Click to See Complete Forum and Search --> : [RESOLVED] Multithreaded compilation


memeloo
July 9th, 2009, 04:30 AM
Does the VS2008 compiler support multithreaded compilation? I've got a rather large C++/CLI project and the compiler is using only one core of my double core processor.

Krishnaa
July 9th, 2009, 05:02 AM
I don't think so, why don't you divide the project into multiple groups and run them on diff core ?

memeloo
July 9th, 2009, 12:34 PM
why don't you divide the project into multiple groups and run them on diff core ?
what do you mean by dividing a project into multiple groups?

and I've found the solution :D

the compiler needs yet another switch: /MP

some of you will probaly say that a decrease of compile time from 1min 36sec to 1min 12sec is not so much and that my project is not at all so big but it's something and it's good to know that ;)

http://blogs.msdn.com/vcblog/archive/2007/03/12/multi-processor-builds-in-orcas.aspx