diff options
author | Brad King <brad.king@kitware.com> | 2016-11-30 18:44:50 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-11-30 19:04:02 (GMT) |
commit | 315d44f77348ab80824353df2622c3d3d5445518 (patch) | |
tree | 3b7cd98d3e1d9dec04337509c49626616502f85e /Source/cmVS141CLFlagTable.h | |
parent | db3499df5d06ab2cacc61e9f7720a33456aeafe4 (diff) | |
download | CMake-315d44f77348ab80824353df2622c3d3d5445518.zip CMake-315d44f77348ab80824353df2622c3d3d5445518.tar.gz CMake-315d44f77348ab80824353df2622c3d3d5445518.tar.bz2 |
VS: Add v141 flag table entry for `-Zc:inline-`
The negative form of the `-Zc:inline` flag is missing from
c:/Program Files (x86)/Microsoft Visual Studio/2017/Professional/Common7/IDE/VC/VCTargets/1033/cl.xml
so it was not included in our flag table automatically. Add it manually.
Suggested-by: Serti Ayoub <ayb.serti@gmail.com>
Diffstat (limited to 'Source/cmVS141CLFlagTable.h')
-rw-r--r-- | Source/cmVS141CLFlagTable.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmVS141CLFlagTable.h b/Source/cmVS141CLFlagTable.h index 895b3e8..f751fc8 100644 --- a/Source/cmVS141CLFlagTable.h +++ b/Source/cmVS141CLFlagTable.h @@ -171,6 +171,7 @@ static cmVS7FlagTable cmVS141CLFlagTable[] = { { "TreatWChar_tAsBuiltInType", "Zc:wchar_t", "", "true", 0 }, { "ForceConformanceInForLoopScope", "Zc:forScope-", "", "false", 0 }, { "ForceConformanceInForLoopScope", "Zc:forScope", "", "true", 0 }, + { "RemoveUnreferencedCodeData", "Zc:inline-", "", "false", 0 }, { "RemoveUnreferencedCodeData", "Zc:inline", "", "true", 0 }, { "EnforceTypeConversionRules", "Zc:rvalueCast-", "", "false", 0 }, { "EnforceTypeConversionRules", "Zc:rvalueCast", "", "true", 0 }, |