From c3a60cc9cce4881f64bd0342cc841900533719e2 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Wed, 1 Apr 2015 19:35:12 +0200 Subject: cmMakefile: Remove AddExtraDirectory method. It has no effect. --- Source/cmAuxSourceDirectoryCommand.cxx | 1 - Source/cmMakefile.cxx | 6 ------ Source/cmMakefile.h | 6 ------ 3 files changed, 13 deletions(-) diff --git a/Source/cmAuxSourceDirectoryCommand.cxx b/Source/cmAuxSourceDirectoryCommand.cxx index a30d992..b8238f8 100644 --- a/Source/cmAuxSourceDirectoryCommand.cxx +++ b/Source/cmAuxSourceDirectoryCommand.cxx @@ -26,7 +26,6 @@ bool cmAuxSourceDirectoryCommand::InitialPass std::string sourceListValue; std::string templateDirectory = args[0]; - this->Makefile->AddExtraDirectory(templateDirectory.c_str()); std::string tdir; if(!cmSystemTools::FileIsFullPath(templateDirectory.c_str())) { diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index 7f355a6..a89ebc5 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -114,7 +114,6 @@ cmMakefile::cmMakefile(const cmMakefile& mf): Internal(new Internals) this->Internal->VarUsageStack.push(mf.Internal->VarUsageStack.top()); this->Prefix = mf.Prefix; - this->AuxSourceDirectories = mf.AuxSourceDirectories; this->cmStartDirectory = mf.cmStartDirectory; this->StartOutputDirectory = mf.StartOutputDirectory; this->cmHomeDirectory = mf.cmHomeDirectory; @@ -2256,11 +2255,6 @@ void cmMakefile::AddSourceGroup(const std::vector& name, #endif -void cmMakefile::AddExtraDirectory(const char* dir) -{ - this->AuxSourceDirectories.push_back(dir); -} - static bool mightExpandVariablesCMP0019(const char* s) { return s && *s && strstr(s,"${") && strchr(s,'}'); diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h index 5e9e87b..7891f37 100644 --- a/Source/cmMakefile.h +++ b/Source/cmMakefile.h @@ -433,11 +433,6 @@ public: bool HasCMP0054AlreadyBeenReported( cmListFileContext context) const; - /** - * Add an auxiliary directory to the build. - */ - void AddExtraDirectory(const char* dir); - void MakeStartDirectoriesCurrent() { this->AddDefinition("CMAKE_CURRENT_SOURCE_DIR", @@ -967,7 +962,6 @@ protected: void CheckForUnused(const char* reason, const std::string& name) const; std::string Prefix; - std::vector AuxSourceDirectories; // std::string cmStartDirectory; std::string StartOutputDirectory; -- cgit v0.12