Merge topic 'ninja-no-cleandead'

cc118ddd70 cmGlobalNinjaGenerator: Remove unused member

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !8178
This commit is contained in:
Brad King
2023-02-08 16:40:36 +00:00
committed by Kitware Robot
2 changed files with 0 additions and 8 deletions

View File

@@ -318,12 +318,6 @@ void cmGlobalNinjaGenerator::WriteBuild(std::ostream& os,
}
}
if (build.Variables.count("dyndep") > 0) {
// The ninja 'cleandead' operation does not account for outputs
// discovered by 'dyndep' bindings. Avoid removing them.
this->DisableCleandead = true;
}
os << buildStr << arguments << assignments << "\n";
}
@@ -591,7 +585,6 @@ void cmGlobalNinjaGenerator::Generate()
this->InitOutputPathPrefix();
this->TargetAll = this->NinjaOutputPath("all");
this->CMakeCacheFile = this->NinjaOutputPath("CMakeCache.txt");
this->DisableCleandead = false;
this->DiagnosedCxxModuleNinjaSupport = false;
this->ClangTidyExportFixesDirs.clear();
this->ClangTidyExportFixesFiles.clear();

View File

@@ -596,7 +596,6 @@ private:
std::string OutputPathPrefix;
std::string TargetAll;
std::string CMakeCacheFile;
bool DisableCleandead = false;
struct ByConfig
{