VS: Add v140 flag table entries for `-Zc:inline[-]`
The documentation of this option [1] 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. [1] https://msdn.microsoft.com/en-us/library/dn642448.aspx Suggested-by: Serti Ayoub <ayb.serti@gmail.com>
This commit is contained in:
parent
315d44f773
commit
418afd5b2c
|
@ -164,6 +164,8 @@ static cmVS7FlagTable cmVS140CLFlagTable[] = {
|
||||||
{ "TreatWChar_tAsBuiltInType", "Zc:wchar_t", "", "true", 0 },
|
{ "TreatWChar_tAsBuiltInType", "Zc:wchar_t", "", "true", 0 },
|
||||||
{ "ForceConformanceInForLoopScope", "Zc:forScope-", "", "false", 0 },
|
{ "ForceConformanceInForLoopScope", "Zc:forScope-", "", "false", 0 },
|
||||||
{ "ForceConformanceInForLoopScope", "Zc:forScope", "", "true", 0 },
|
{ "ForceConformanceInForLoopScope", "Zc:forScope", "", "true", 0 },
|
||||||
|
{ "RemoveUnreferencedCodeData", "Zc:inline-", "", "false", 0 },
|
||||||
|
{ "RemoveUnreferencedCodeData", "Zc:inline", "", "true", 0 },
|
||||||
{ "RuntimeTypeInfo", "GR-", "", "false", 0 },
|
{ "RuntimeTypeInfo", "GR-", "", "false", 0 },
|
||||||
{ "RuntimeTypeInfo", "GR", "", "true", 0 },
|
{ "RuntimeTypeInfo", "GR", "", "true", 0 },
|
||||||
{ "OpenMPSupport", "openmp-", "", "false", 0 },
|
{ "OpenMPSupport", "openmp-", "", "false", 0 },
|
||||||
|
|
Loading…
Reference in New Issue