[cmake-developers] [PATCH] Don't use /ZmXXXX for MSVC11+
Brad King
brad.king at kitware.com
Fri Nov 16 13:05:03 EST 2012
On 11/15/2012 08:31 AM, Adam Moss wrote:
> /Zm1000 considered harmful in VS2012 (this is probably true of >=VS2005
>
> Only use /Zm on MSVC versions older than 11.
I'm willing to be more aggressive and drop it for all VS >= 7.1:
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=cd739794
This was even requested 8 years ago:
http://www.cmake.org/pipermail/cmake/2004-June/005188.html
but nothing ever happened. Even VS 7.1 docs suggest not using it:
http://msdn.microsoft.com/en-us/library/bdscwf1c%28v=vs.71%29.aspx
It is easy for people to add it in their local builds if needed.
Thanks,
-Brad
More information about the cmake-developers
mailing list