summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-04-01 17:35:12 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-04-01 18:32:47 (GMT)
commitc3a60cc9cce4881f64bd0342cc841900533719e2 (patch)
tree5a46c154b5e8a76da993339c4bc4d8810fa7adbb
parent37897347b3fd97668d4831bba11e23f9f493e759 (diff)
downloadCMake-c3a60cc9cce4881f64bd0342cc841900533719e2.zip
CMake-c3a60cc9cce4881f64bd0342cc841900533719e2.tar.gz
CMake-c3a60cc9cce4881f64bd0342cc841900533719e2.tar.bz2
cmMakefile: Remove AddExtraDirectory method.
It has no effect.
-rw-r--r--Source/cmAuxSourceDirectoryCommand.cxx1
-rw-r--r--Source/cmMakefile.cxx6
-rw-r--r--Source/cmMakefile.h6
3 files changed, 0 insertions, 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<std::string>& 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<std::string> AuxSourceDirectories; //
std::string cmStartDirectory;
std::string StartOutputDirectory;