[cmake-developers] [PATCH] Don't use /ZmXXXX for MSVC11+
Adam Moss
adam at broadcom.com
Mon Nov 19 04:09:46 EST 2012
That's great - thanks a lot!
--Adam
-----Original Message-----
From: Brad King [mailto:brad.king at kitware.com]
Sent: 16 November 2012 18:05
To: Adam Moss
Cc: cmake-developers at cmake.org
Subject: Re: [cmake-developers] [PATCH] Don't use /ZmXXXX for MSVC11+
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