Hi, there!<br>I am using Windows SDK 7.1 + nmake + CMake for building Windows applications.<br>Follow these:<br><a href="http://www.cmake.org/pipermail/cmake/2009-April/028668.html">http://www.cmake.org/pipermail/cmake/2009-April/028668.html</a><br>

<a href="http://msdn.microsoft.com/en-us/library/bb385193.aspx">http://msdn.microsoft.com/en-us/library/bb385193.aspx</a><br>I can&#39;t make /MP option works after this change in CMake&#39;s main CMakeLists.txt<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">

if (MSVC)<br>  SET(CMAKE_CXX_FLAGS &quot;${CMAKE_CXX_FLAGS} /MP&quot;)<br>  SET(CMAKE_C_FLAGS &quot;${CMAKE_C_FLAGS} /MP&quot;)<br>  message(STATUS &quot;CMAKE_CXX_FLAGS = ${CMAKE_CXX_FLAGS}&quot;)<br>  message(STATUS &quot;CMAKE_C_FLAGS = ${CMAKE_C_FLAGS}&quot;)<br>

endif()<br></blockquote><br>I know Jom which is a good choice for speed up compilation, but some times, it will broken my builds.<br>See: <a href="http://qt-project.org/wiki/jom">http://qt-project.org/wiki/jom</a><br><br>

Am I lost some option? does there exist an valid way?<br>or, It&#39;s just a bug from CMake self?<br>Thanks a lot!<br><br>-- <br><div>Best Regards</div>
<div>Yuchen</div><br>
<div></div>