mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 21:31:08 -06:00
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:
@@ -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();
|
||||
|
||||
@@ -596,7 +596,6 @@ private:
|
||||
std::string OutputPathPrefix;
|
||||
std::string TargetAll;
|
||||
std::string CMakeCacheFile;
|
||||
bool DisableCleandead = false;
|
||||
|
||||
struct ByConfig
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user