mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
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
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user