Skip to content
Snippets Groups Projects
Commit 937f454f authored by Brad King's avatar Brad King
Browse files

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
parent 8fb349a8
No related branches found
No related tags found
No related merge requests found
......@@ -663,27 +663,6 @@
"value": "CompileAsCpp",
"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",
......
......@@ -658,27 +658,6 @@
"value": "CompileAsCpp",
"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",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment