summaryrefslogtreecommitdiff
path: root/Templates/MSBuild/FlagTables/v11_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/v11_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/v11_CL.json')
-rw-r--r--Templates/MSBuild/FlagTables/v11_CL.json11
1 files changed, 11 insertions, 0 deletions
diff --git a/Templates/MSBuild/FlagTables/v11_CL.json b/Templates/MSBuild/FlagTables/v11_CL.json
index b47ab2e983..bb64985f84 100644
--- a/Templates/MSBuild/FlagTables/v11_CL.json
+++ b/Templates/MSBuild/FlagTables/v11_CL.json
@@ -923,6 +923,17 @@
"value": "",
"flags": [
"UserValue",
+ "UserRequired",
+ "SemicolonAppendable"
+ ]
+ },
+ {
+ "name": "ForcedIncludeFiles",
+ "switch": "FI",
+ "comment": "Forced Include File",
+ "value": "",
+ "flags": [
+ "UserFollowing",
"SemicolonAppendable"
]
},