diff options
author | Brad King <brad.king@kitware.com> | 2022-04-01 20:37:08 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-04-01 20:37:08 (GMT) |
commit | 20cd951c9f4dff5230a9b22adbc6c4dbd0d6e233 (patch) | |
tree | 7369d72633ff22ef0fef377214fa8d0f65f426b1 /Templates | |
parent | 6e1be5dbefab3e7317502e3d0fe4b132d0162ae5 (diff) | |
download | CMake-20cd951c9f4dff5230a9b22adbc6c4dbd0d6e233.zip CMake-20cd951c9f4dff5230a9b22adbc6c4dbd0d6e233.tar.gz CMake-20cd951c9f4dff5230a9b22adbc6c4dbd0d6e233.tar.bz2 |
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')
-rw-r--r-- | Templates/MSBuild/FlagTables/v10_CL.json | 11 | ||||
-rw-r--r-- | Templates/MSBuild/FlagTables/v11_CL.json | 11 | ||||
-rw-r--r-- | Templates/MSBuild/FlagTables/v12_CL.json | 11 | ||||
-rw-r--r-- | Templates/MSBuild/FlagTables/v140_CL.json | 11 | ||||
-rw-r--r-- | Templates/MSBuild/FlagTables/v141_CL.json | 11 | ||||
-rw-r--r-- | Templates/MSBuild/FlagTables/v142_CL.json | 11 | ||||
-rw-r--r-- | Templates/MSBuild/FlagTables/v143_CL.json | 11 |
7 files changed, 77 insertions, 0 deletions
diff --git a/Templates/MSBuild/FlagTables/v10_CL.json b/Templates/MSBuild/FlagTables/v10_CL.json index 06158be..a8c2cc7 100644 --- a/Templates/MSBuild/FlagTables/v10_CL.json +++ b/Templates/MSBuild/FlagTables/v10_CL.json @@ -860,6 +860,17 @@ "value": "", "flags": [ "UserValue", + "UserRequired", + "SemicolonAppendable" + ] + }, + { + "name": "ForcedIncludeFiles", + "switch": "FI", + "comment": "Forced Include File", + "value": "", + "flags": [ + "UserFollowing", "SemicolonAppendable" ] }, diff --git a/Templates/MSBuild/FlagTables/v11_CL.json b/Templates/MSBuild/FlagTables/v11_CL.json index b47ab2e..bb64985 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" ] }, diff --git a/Templates/MSBuild/FlagTables/v12_CL.json b/Templates/MSBuild/FlagTables/v12_CL.json index 771a555..5bc61fd 100644 --- a/Templates/MSBuild/FlagTables/v12_CL.json +++ b/Templates/MSBuild/FlagTables/v12_CL.json @@ -937,6 +937,17 @@ "value": "", "flags": [ "UserValue", + "UserRequired", + "SemicolonAppendable" + ] + }, + { + "name": "ForcedIncludeFiles", + "switch": "FI", + "comment": "Forced Include File", + "value": "", + "flags": [ + "UserFollowing", "SemicolonAppendable" ] }, diff --git a/Templates/MSBuild/FlagTables/v140_CL.json b/Templates/MSBuild/FlagTables/v140_CL.json index 3dc9f35..58e22ba 100644 --- a/Templates/MSBuild/FlagTables/v140_CL.json +++ b/Templates/MSBuild/FlagTables/v140_CL.json @@ -972,6 +972,17 @@ "value": "", "flags": [ "UserValue", + "UserRequired", + "SemicolonAppendable" + ] + }, + { + "name": "ForcedIncludeFiles", + "switch": "FI", + "comment": "Forced Include File", + "value": "", + "flags": [ + "UserFollowing", "SemicolonAppendable" ] }, diff --git a/Templates/MSBuild/FlagTables/v141_CL.json b/Templates/MSBuild/FlagTables/v141_CL.json index 5b18e32..604e6b6 100644 --- a/Templates/MSBuild/FlagTables/v141_CL.json +++ b/Templates/MSBuild/FlagTables/v141_CL.json @@ -1077,6 +1077,17 @@ "value": "", "flags": [ "UserValue", + "UserRequired", + "SemicolonAppendable" + ] + }, + { + "name": "ForcedIncludeFiles", + "switch": "FI", + "comment": "Forced Include File", + "value": "", + "flags": [ + "UserFollowing", "SemicolonAppendable" ] }, diff --git a/Templates/MSBuild/FlagTables/v142_CL.json b/Templates/MSBuild/FlagTables/v142_CL.json index 4c65ad9..c76c040 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" ] }, diff --git a/Templates/MSBuild/FlagTables/v143_CL.json b/Templates/MSBuild/FlagTables/v143_CL.json index 96f74b1..993fbf1 100644 --- a/Templates/MSBuild/FlagTables/v143_CL.json +++ b/Templates/MSBuild/FlagTables/v143_CL.json @@ -1285,6 +1285,17 @@ "value": "", "flags": [ "UserValue", + "UserRequired", + "SemicolonAppendable" + ] + }, + { + "name": "ForcedIncludeFiles", + "switch": "FI", + "comment": "Forced Include File", + "value": "", + "flags": [ + "UserFollowing", "SemicolonAppendable" ] }, |