I haven't ever had this be a problem, but FWIW one can find "Maximum
number of parallel project builds" under Tools -> Options -> Projects
and Solutions -> Build and Run and set that to 1 to disable target
parallelism. Of course, that's environmental rather than something
cmake could control
On 06/03/2015 04:47 PM, Bill Hoffman wrote:
On 6/3/2015 4:32 PM, Davy Durham wrote:
Greetings,
Any reason that cmake's own VS project generation doesn't make use of
/MP <https://msdn.microsoft.com/en-us/library/bb385193.aspx> to make use
of multiple cores? I added it manually, and cmake build times go
through the floor. That option has been present since VS 2008.
http://www.kitware.com/blog/home/post/434
" The downside is that the IDE will still perform target level
parallelism along with object level parallelism which can lead to
excessive parallelism grinding your machine and GUI to a halt. It has
also been known to randomly create bad object files. However, the
speed up is significant so it is usually worth the extra trouble it
causes."
-Bill
--
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-developers