[CMake] /MP[number of threads] switch for Visual Studio 2010

Mario Rodríguez mario.rodriguez at aurorasat.es
Fri Jan 17 04:58:37 EST 2014


Hi,

I'm trying to apply the "/MP[n]" switch for setting the number of cores to
be used in a compilation, but if I add "/MP4" for example in my
${CMAKE_CXX_FLAGS_RELEASE}, cmake converts it to "/MP" that means "all
cores available". What am I doing wrong? Can anyone reproduce this
behaviour?

Tested with Cmake  2.8.10.2 and 2.8.12.1
Windows 7 64 bits
Visual Studio 2010 SP1

Thanks in advance!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20140117/b0e75837/attachment.html>


More information about the CMake mailing list