From 4a92df86670f6407531242cf81ebcec056cc3eb5 Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 26 Sep 2019 11:56:56 -0400 Subject: cmGlobalNinjaGenerator: Remove unused AddDependencyToAll overload --- Source/cmGlobalNinjaGenerator.cxx | 5 ----- Source/cmGlobalNinjaGenerator.h | 1 - 2 files changed, 6 deletions(-) diff --git a/Source/cmGlobalNinjaGenerator.cxx b/Source/cmGlobalNinjaGenerator.cxx index 7bba874..3a3c5fb 100644 --- a/Source/cmGlobalNinjaGenerator.cxx +++ b/Source/cmGlobalNinjaGenerator.cxx @@ -893,11 +893,6 @@ void cmGlobalNinjaGenerator::AddDependencyToAll(cmGeneratorTarget* target) this->AppendTargetOutputs(target, this->AllDependencies); } -void cmGlobalNinjaGenerator::AddDependencyToAll(const std::string& input) -{ - this->AllDependencies.push_back(input); -} - void cmGlobalNinjaGenerator::WriteAssumedSourceDependencies() { for (auto const& asd : this->AssumedSourceDependencies) { diff --git a/Source/cmGlobalNinjaGenerator.h b/Source/cmGlobalNinjaGenerator.h index dca783f..3549946 100644 --- a/Source/cmGlobalNinjaGenerator.h +++ b/Source/cmGlobalNinjaGenerator.h @@ -295,7 +295,6 @@ public: void AppendTargetDependsClosure(cmGeneratorTarget const* target, cmNinjaOuts& outputs, bool omit_self); void AddDependencyToAll(cmGeneratorTarget* target); - void AddDependencyToAll(const std::string& input); const std::vector& GetLocalGenerators() const { -- cgit v0.12