diff options
author | Brad King <brad.king@kitware.com> | 2019-01-24 16:48:10 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-01-24 18:19:46 (GMT) |
commit | fb2e418c64d915b4d75f55f815e67923216def62 (patch) | |
tree | 7fcf1cac4027aa5800843f9a8d505c430194bf6e /Templates | |
parent | 20922d673375e6b819eba32e84471922b008b8a9 (diff) | |
download | CMake-fb2e418c64d915b4d75f55f815e67923216def62.zip CMake-fb2e418c64d915b4d75f55f815e67923216def62.tar.gz CMake-fb2e418c64d915b4d75f55f815e67923216def62.tar.bz2 |
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.json | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/Templates/MSBuild/FlagTables/v142_CL.json b/Templates/MSBuild/FlagTables/v142_CL.json index db85dd8..437b711 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", |