summaryrefslogtreecommitdiff
path: root/Templates
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-01-24 11:48:10 -0500
committerBrad King <brad.king@kitware.com>2019-01-24 13:19:46 -0500
commitfb2e418c64d915b4d75f55f815e67923216def62 (patch)
tree7fcf1cac4027aa5800843f9a8d505c430194bf6e /Templates
parent20922d673375e6b819eba32e84471922b008b8a9 (diff)
downloadcmake-fb2e418c64d915b4d75f55f815e67923216def62.tar.gz
VS: Fix `/analyze:log` flag mapping for v142
Apply the change from commit 44dc9fc48a (VS: Fix /analyze:log flag mapping, 2018-11-26) to the v142 flag table. The `/analyze:log` argument requires a value in the following argument. Also drop the general `/analyze:` flag table entry so that such flags will be passed through as plain additional options. This is necessary because some such options have following values and some do not but not all have `.vcxproj` elements to hold the values.
Diffstat (limited to 'Templates')
-rw-r--r--Templates/MSBuild/FlagTables/v142_CL.json18
1 files changed, 4 insertions, 14 deletions
diff --git a/Templates/MSBuild/FlagTables/v142_CL.json b/Templates/MSBuild/FlagTables/v142_CL.json
index db85dd82db..437b711b8e 100644
--- a/Templates/MSBuild/FlagTables/v142_CL.json
+++ b/Templates/MSBuild/FlagTables/v142_CL.json
@@ -1056,13 +1056,12 @@
]
},
{
- "name": "PREfastAdditionalOptions",
- "switch": "analyze:",
- "comment": "Additional Code Analysis Native options",
+ "name": "PREfastLog",
+ "switch": "analyze:log",
+ "comment": "Code Analysis Log",
"value": "",
"flags": [
- "UserValue",
- "SemicolonAppendable"
+ "UserFollowing"
]
},
{
@@ -1180,15 +1179,6 @@
]
},
{
- "name": "PREfastLog",
- "switch": "analyze:log",
- "comment": "Code Analysis Log",
- "value": "",
- "flags": [
- "UserValue"
- ]
- },
- {
"name": "ProcessorNumber",
"switch": "MP",
"comment": "Number of processors",