Hello,

I would like to apply the switch "/MP[n]" for setting the number of
cores to be used in a compilation, however it does not behave
correctly.

If I add "/MP4" for example in my${CMAKE_CXX_FLAGS_RELEASE}, cmake
converts it to "/MP" that means "all cores available".

It's like it is not parsing the number but it correctly parses the /MP.


Tested with :

Cmake  3.0.0 and 2.8.12.2

Windows 7 64 bits

Visual Studio 2013 / Visual Studio 2010 SP1
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to