summaryrefslogtreecommitdiffstats
path: root/Source/cmVS141CLFlagTable.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-11-30 18:44:50 (GMT)
committerBrad King <brad.king@kitware.com>2016-11-30 19:04:02 (GMT)
commit315d44f77348ab80824353df2622c3d3d5445518 (patch)
tree3b7cd98d3e1d9dec04337509c49626616502f85e /Source/cmVS141CLFlagTable.h
parentdb3499df5d06ab2cacc61e9f7720a33456aeafe4 (diff)
downloadCMake-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.h1
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 },