[cmake-developers] VS2015 /Zc:inline

Brad King brad.king at kitware.com
Wed Nov 30 14:36:20 EST 2016


On 11/30/2016 02:13 PM, Serti Ayoub wrote:
> Sorry, I think it's an error on VS2015 documentation. They pretend that,
> I quote "By default, this option is off (*/Zc:inline-*)." However the
> default value is */Zc:inline*

Actually that documentation is for the MSVC compiler itself (`cl`), and
it is accurate for that.  It is VS or MSBuild that decides to add this
flag by default.

-Brad



More information about the cmake-developers mailing list