cxxmodules: remove support for CXX_MODULE_HEADER_UNITS filesets

There's no backing implementation for header units anyways, so just
remove it for now.
This commit is contained in:
Ben Boeckel
2023-05-26 09:34:52 -04:00
parent 2624006608
commit 6ff5cdc533
36 changed files with 31 additions and 364 deletions
+1 -3
View File
@@ -2797,9 +2797,7 @@ void cmVisualStudio10TargetGenerator::OutputSourceSpecificFlags(
auto const* fs =
this->GeneratorTarget->GetFileSetForSource(config, source);
const char* compileAsPerConfig = compileAs;
if (fs &&
(fs->GetType() == "CXX_MODULES"_s ||
fs->GetType() == "CXX_MODULE_HEADER_UNITS"_s)) {
if (fs && fs->GetType() == "CXX_MODULES"_s) {
if (lang == "CXX"_s) {
if (fs->GetType() == "CXX_MODULES"_s) {
if (shouldScanForModules &&