[CMake] 'NMake Makefiles' generate does not support parallel builds (/MP)?
Loaden
loaden at gmail.com
Thu Sep 20 04:45:03 EDT 2012
Hi, there!
I am using Windows SDK 7.1 + nmake + CMake for building Windows
applications.
Follow these:
http://www.cmake.org/pipermail/cmake/2009-April/028668.html
http://msdn.microsoft.com/en-us/library/bb385193.aspx
I can't make /MP option works after this change in CMake's main
CMakeLists.txt
> if (MSVC)
> SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /MP")
> SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /MP")
> message(STATUS "CMAKE_CXX_FLAGS = ${CMAKE_CXX_FLAGS}")
> message(STATUS "CMAKE_C_FLAGS = ${CMAKE_C_FLAGS}")
> endif()
>
I know Jom which is a good choice for speed up compilation, but some times,
it will broken my builds.
See: http://qt-project.org/wiki/jom
Am I lost some option? does there exist an valid way?
or, It's just a bug from CMake self?
Thanks a lot!
--
Best Regards
Yuchen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120920/02be6947/attachment.htm>
More information about the CMake
mailing list