diff --git a/Source/cmAuxSourceDirectoryCommand.cxx b/Source/cmAuxSourceDirectoryCommand.cxx index a30d992b49..b8238f850e 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 7f355a6a0b..a89ebc529f 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 5e9e87b2b5..7891f378aa 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;