summaryrefslogtreecommitdiffstats
path: root/Templates
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-05-28 15:48:30 (GMT)
committerBrad King <brad.king@kitware.com>2021-05-28 15:54:57 (GMT)
commit9054cd05e6e3a267146c1690745e9b8c2d3d9c72 (patch)
tree3dcc440f40d0bc3f8ad3e1d267f09b1ece73f28e /Templates
parent13d112ea03f2b068da1f7ac3239a42a6cff94eda (diff)
downloadCMake-9054cd05e6e3a267146c1690745e9b8c2d3d9c72.zip
CMake-9054cd05e6e3a267146c1690745e9b8c2d3d9c72.tar.gz
CMake-9054cd05e6e3a267146c1690745e9b8c2d3d9c72.tar.bz2
VS: Add flag table entries for '/external:W*' flags in VS 16.10
Fixes: #22255
Diffstat (limited to 'Templates')
-rw-r--r--Templates/MSBuild/FlagTables/v142_CL.json35
1 files changed, 35 insertions, 0 deletions
diff --git a/Templates/MSBuild/FlagTables/v142_CL.json b/Templates/MSBuild/FlagTables/v142_CL.json
index 7c2d291..3305e56 100644
--- a/Templates/MSBuild/FlagTables/v142_CL.json
+++ b/Templates/MSBuild/FlagTables/v142_CL.json
@@ -533,6 +533,41 @@
"flags": []
},
{
+ "name": "ExternalWarningLevel",
+ "switch": "external:W0",
+ "comment": "Turn Off All Warnings",
+ "value": "TurnOffAllWarnings",
+ "flags": []
+ },
+ {
+ "name": "ExternalWarningLevel",
+ "switch": "external:W1",
+ "comment": "Level1",
+ "value": "Level1",
+ "flags": []
+ },
+ {
+ "name": "ExternalWarningLevel",
+ "switch": "external:W2",
+ "comment": "Level2",
+ "value": "Level2",
+ "flags": []
+ },
+ {
+ "name": "ExternalWarningLevel",
+ "switch": "external:W3",
+ "comment": "Level3",
+ "value": "Level3",
+ "flags": []
+ },
+ {
+ "name": "ExternalWarningLevel",
+ "switch": "external:W4",
+ "comment": "Level4",
+ "value": "Level4",
+ "flags": []
+ },
+ {
"name": "CallingConvention",
"switch": "Gd",
"comment": "__cdecl",