/Zm1000 considered harmful in VS2012 (this is probably true of >=VS2005 - 
but I've erred on the side of leaving things alone for configurations I haven't 
tested.)
    Only use /Zm on MSVC versions older than 11.
    This was making each compiler instance reserve around 750MB immediately, 
which in a parallel build would make some or all of the spawned compilers crash 
depending on system memory pressure.
    See: http://msdn.microsoft.com/en-us/library/bdscwf1c.aspx

Cheers,
--Adam

Attachment: winzm-fix.patch
Description: winzm-fix.patch

--

Powered by www.kitware.com

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

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

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

Reply via email to