[CMake] visual studio parallel build

j s j.s4403 at gmail.com
Thu Jul 30 14:38:28 EDT 2009


I don't think so, but this article claims that by specifying multiple c++
files at the same time, the Visual C++ compiler will parallelize them:

http://stackoverflow.com/questions/601970/how-do-i-utilise-all-the-cores-for-nmake

Regards,

Juan

On Thu, Jul 30, 2009 at 1:28 PM, Dominik Szczerba <dominik at itis.ethz.ch>wrote:

> BTW do you know if it is possible to do a parallel build with nmake? (like
> -jN with GNU make)
> -- Dominik
>
> John Drescher wrote:
>
>> On Thu, Jul 30, 2009 at 2:16 PM, j s<j.s4403 at gmail.com> wrote:
>>
>>> I guess I won't be using the parallel option in Visual Studio, then.
>>>
>>>  I have found it rare to have issues like this even on quad core
>> machines but it does happen. I build on 5 or so different machines
>> from 2 to 4 cores.
>>
>>  A
>>> non-deterministic build order is not worth the risk.
>>>
>>>  I understand.
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the CMake FAQ at:
>> http://www.cmake.org/Wiki/CMake_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.cmake.org/mailman/listinfo/cmake
>>
>>
>
> --
> d o m i n i k   s z c z e r b a ,   p h d . . . . . . . . . . .
> c o m p u t a t i o n a l   l i f e   s c i e n c e   g r o u p
> . . . . . . . i t ' i s   r e s e a r c h   f o u n d a t i o n
> . . . . . . . . . . . . . . . . . . . . http://www.itis.ethz.ch
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090730/169eeafb/attachment.htm>


More information about the CMake mailing list