Skip to content

VS: Add v140 and v141 flag table entries for `-Zc:inline[-]`

Brad King requested to merge brad.king/cmake:vs15-Zc-inline-false into master

The documentation of this option claims that the default is off, but VS seems to use -Zc:inline by default if RemoveUnreferencedCodeData does not appear in the .vcxproj file. Add the flag table entry to allow use of the flag to be configured.

Suggested on mailing list thread Nov 2016: VS2015 /Zc:inline.

Merge request reports