summaryrefslogtreecommitdiff
path: root/Templates/MSBuild/FlagTables/v142_CL.json
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-04-01 16:37:08 -0400
committerBrad King <brad.king@kitware.com>2022-04-01 16:37:08 -0400
commit20cd951c9f4dff5230a9b22adbc6c4dbd0d6e233 (patch)
tree7369d72633ff22ef0fef377214fa8d0f65f426b1 /Templates/MSBuild/FlagTables/v142_CL.json
parent6e1be5dbefab3e7317502e3d0fe4b132d0162ae5 (diff)
downloadcmake-20cd951c9f4dff5230a9b22adbc6c4dbd0d6e233.tar.gz
VS: Add compiler flag table entry for -FI followed by separate argument
The MSVC `/FI` flag accepts an attached value or a following argument. Previously our flag tables only had entries for the former. Add the latter. Fixes: #23382
Diffstat (limited to 'Templates/MSBuild/FlagTables/v142_CL.json')
-rw-r--r--Templates/MSBuild/FlagTables/v142_CL.json11
1 files changed, 11 insertions, 0 deletions
diff --git a/Templates/MSBuild/FlagTables/v142_CL.json b/Templates/MSBuild/FlagTables/v142_CL.json
index 4c65ad9bd7..c76c040bc0 100644
--- a/Templates/MSBuild/FlagTables/v142_CL.json
+++ b/Templates/MSBuild/FlagTables/v142_CL.json
@@ -1286,6 +1286,17 @@
"value": "",
"flags": [
"UserValue",
+ "UserRequired",
+ "SemicolonAppendable"
+ ]
+ },
+ {
+ "name": "ForcedIncludeFiles",
+ "switch": "FI",
+ "comment": "Forced Include File",
+ "value": "",
+ "flags": [
+ "UserFollowing",
"SemicolonAppendable"
]
},