[CMake] Disable parallel build under windows

ycollette.nospam at free.fr ycollette.nospam at free.fr
Wed Jun 26 10:35:56 EDT 2013


OK, that's that simple ... Thanks a lot.

Best regards,

YC

----- Mail original -----
De: "Sören Textor [Ditec-GmbH]" <s.textor at ditec-gmbh.de>
À: cmake at cmake.org
Envoyé: Mercredi 26 Juin 2013 16:33:08
Objet: Re: [CMake] Disable parallel build under windows



just remove the flag /MP from CMAKE_CXX_FLAGS 

Am 26.06.2013 16:01, schrieb ycollette.nospam at free.fr : 


Hello,

In a directory, I build some ExternalProjects.
Under windows, if I use the "NMake Makefiles" generator, the build is sequential (thanks to nmake which doesn't understand parallel build).
But if  I generate a Visual Studio solution, the external projects are build in parallel.
I would like to forbid the parallel build in my ExternalProjects directory. Is it possible to do via cmake ?

Best regards,

YC
--

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 

--

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


More information about the CMake mailing list