cmMakefile: Rename GetCurrent{,Source}Directory.

Match the names used in cmake code.
This commit is contained in:
Stephen Kelly
2015-04-16 21:17:41 +02:00
parent b23cf06f86
commit 55d80d0a85
31 changed files with 65 additions and 61 deletions

View File

@@ -63,7 +63,7 @@ void cmInstallProgramsCommand::FinalPass()
else // reg exp list
{
std::vector<std::string> programs;
cmSystemTools::Glob(this->Makefile->GetCurrentDirectory(),
cmSystemTools::Glob(this->Makefile->GetCurrentSourceDirectory(),
this->FinalArgs[0], programs);
std::vector<std::string>::iterator s = programs.begin();
@@ -118,7 +118,7 @@ std::string cmInstallProgramsCommand
std::string tb = this->Makefile->GetCurrentOutputDirectory();
tb += "/";
tb += name;
std::string ts = this->Makefile->GetCurrentDirectory();
std::string ts = this->Makefile->GetCurrentSourceDirectory();
ts += "/";
ts += name;