diff options
author | Brad King <brad.king@kitware.com> | 2019-09-26 15:56:56 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-09-30 14:30:28 (GMT) |
commit | 4a92df86670f6407531242cf81ebcec056cc3eb5 (patch) | |
tree | 82b3d025fca17b901bf9299eac67d2828e1f93e9 | |
parent | 8aa5f6ba446dd8ff817e54979f466b8a247f967a (diff) | |
download | CMake-4a92df86670f6407531242cf81ebcec056cc3eb5.zip CMake-4a92df86670f6407531242cf81ebcec056cc3eb5.tar.gz CMake-4a92df86670f6407531242cf81ebcec056cc3eb5.tar.bz2 |
cmGlobalNinjaGenerator: Remove unused AddDependencyToAll overload
-rw-r--r-- | Source/cmGlobalNinjaGenerator.cxx | 5 | ||||
-rw-r--r-- | Source/cmGlobalNinjaGenerator.h | 1 |
2 files changed, 0 insertions, 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<cmLocalGenerator*>& GetLocalGenerators() const { |