[cmake-developers] VS2015 /Zc:inline

Serti Ayoub ayb.serti at gmail.com
Wed Nov 30 13:37:47 EST 2016


Hello,
Here:
https://github.com/Kitware/CMake/blob/1b592b6458ce033b04ba2aa0ee4cf5ace0fd042c/Source/cmVS141CLFlagTable.h#L174

I think it need also an entry : { "RemoveUnreferencedCodeData", "Zc:inline-",
"", "false", 0 }
What do you think ?

-Ayb

2016-11-30 18:12 GMT+00:00 Brad King <brad.king at kitware.com>:

> On 11/30/2016 12:29 PM, Serti Ayoub wrote:
> > I'm using CMake 3.6 to generate VS2015 solution/projects.
> > I found that cmake automatically add /Zc:inline for all projects
> > configuration which make some of my symbols non-visible in release mode.
>
> I'm not aware of any code in CMake that does that.  There is no mention
> of that flag or of RemoveUnreferencedCodeData in the 3.6 source code.
>
> Please try a simple test project.
>
> -Brad
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20161130/77ac9584/attachment.html>


More information about the cmake-developers mailing list