On Thu, Jul 31, 2014 at 10:29 AM, Jaime Armendariz wrote:
> If I add "/MP4" for example in my${CMAKE_CXX_FLAGS_RELEASE}, cmake converts
> it to "/MP" that means "all cores available".
[snip]
> Cmake 3.0.0 and 2.8.12.2
> Windows 7 64 bits
> Visual Studio 2013 / Visual Studio 2010 SP1
With CMake 3.0.0 on VS 2013 I tried that and got:
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<ProcessorNumber>4</ProcessorNumber>
in the .vcxproj file. The compilation command-line then had "/MP4"
as expected.
-Brad
--
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