[CMake] Problem with MSVC compiler flags
James Beach
beachboy44 at me.com
Fri Sep 9 12:46:16 EDT 2016
Hi there,
I'm using CMake 3.6.2 to generate solution/project files for Visual Studio 14 (2015) Win64 on Windows 10. The problem is that "/Zc:inline" and "/Zc:rvalueCast" do not set properly (but all other compiler flags do);
Both flags show up in the 'Additional Options' box in 'Configuration Properties' -> 'C/C++' -> 'Command Line', but not in the 'All Options' box as they should. The case is not so bad for "/Zc:inline" as it is set by default, but "/Zc:rvalueCast" is not set at all.
I've looked inside the corresponding project file and the
<RemoveUnreferencedCodeData>true</RemoveUnreferencedCodeData>
<EnforceTypeConversionRules>true</EnforceTypeConversionRules>
lines are indeed missing.
Thanks a lot in advance for any help,
James
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20160909/81a211af/attachment-0001.html>
More information about the CMake
mailing list