summaryrefslogtreecommitdiffstats
path: root/Templates
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-07-26 14:46:14 (GMT)
committerBrad King <brad.king@kitware.com>2021-07-26 14:49:26 (GMT)
commit937f454fb9a8bc962a94f050e5b632d92d5db1b0 (patch)
treeb029cc9657d76f4c3b18daeb4b60e49e33586170 /Templates
parent8fb349a80e3feef7d139dd4ade2a2e64e6652e55 (diff)
downloadCMake-937f454fb9a8bc962a94f050e5b632d92d5db1b0.zip
CMake-937f454fb9a8bc962a94f050e5b632d92d5db1b0.tar.gz
CMake-937f454fb9a8bc962a94f050e5b632d92d5db1b0.tar.bz2
VS: Remove C++ module CompileAs flag table entries for v142 and v143
The `CompileAs` entry in a `.vcxproj` file with values: * `CompileAsCppModule` for `-interface` * `CompileAsCppModuleInternalPartition` for `-internalPartition` * `CompileAsHeaderUnit` for `-exportHeader` does not cause the corresponding flag to be added to the command line. Drop the flag table entries so that the flags go to `AdditionalOptions`. Fixes: #22477
Diffstat (limited to 'Templates')
-rw-r--r--Templates/MSBuild/FlagTables/v142_CL.json21
-rw-r--r--Templates/MSBuild/FlagTables/v143_CL.json21
2 files changed, 0 insertions, 42 deletions
diff --git a/Templates/MSBuild/FlagTables/v142_CL.json b/Templates/MSBuild/FlagTables/v142_CL.json
index 08b6459..64eeac4 100644
--- a/Templates/MSBuild/FlagTables/v142_CL.json
+++ b/Templates/MSBuild/FlagTables/v142_CL.json
@@ -664,27 +664,6 @@
"flags": []
},
{
- "name": "CompileAs",
- "switch": "interface",
- "comment": "Compile as C++ Module Code",
- "value": "CompileAsCppModule",
- "flags": []
- },
- {
- "name": "CompileAs",
- "switch": "internalPartition",
- "comment": "Compile as C++ Module Internal Partition",
- "value": "CompileAsCppModuleInternalPartition",
- "flags": []
- },
- {
- "name": "CompileAs",
- "switch": "exportHeader",
- "comment": "Compile as C++ Header Unit",
- "value": "CompileAsHeaderUnit",
- "flags": []
- },
- {
"name": "ErrorReporting",
"switch": "errorReport:none",
"comment": "Do Not Send Report",
diff --git a/Templates/MSBuild/FlagTables/v143_CL.json b/Templates/MSBuild/FlagTables/v143_CL.json
index ad7194b..8b700aa 100644
--- a/Templates/MSBuild/FlagTables/v143_CL.json
+++ b/Templates/MSBuild/FlagTables/v143_CL.json
@@ -659,27 +659,6 @@
"flags": []
},
{
- "name": "CompileAs",
- "switch": "interface",
- "comment": "Compile as C++ Module Code",
- "value": "CompileAsCppModule",
- "flags": []
- },
- {
- "name": "CompileAs",
- "switch": "internalPartition",
- "comment": "Compile as C++ Module Internal Partition",
- "value": "CompileAsCppModuleInternalPartition",
- "flags": []
- },
- {
- "name": "CompileAs",
- "switch": "exportHeader",
- "comment": "Compile as C++ Header Unit",
- "value": "CompileAsHeaderUnit",
- "flags": []
- },
- {
"name": "ErrorReporting",
"switch": "errorReport:none",
"comment": "Do Not Send Report",