cmMakefile: Rename GetCurrent{Output,Binary}Directory.

Match names used in CMake code.
This commit is contained in:
Stephen Kelly
2015-04-16 21:33:09 +02:00
parent 55d80d0a85
commit 54d6a9187f
39 changed files with 73 additions and 73 deletions

View File

@@ -168,7 +168,7 @@ bool cmAddCustomCommandCommand
// and later references "${CMAKE_CURRENT_SOURCE_DIR}/out.txt".
// This is fairly obscure so we can wait for someone to
// complain.
filename = this->Makefile->GetCurrentOutputDirectory();
filename = this->Makefile->GetCurrentBinaryDirectory();
filename += "/";
}
filename += copy;
@@ -315,7 +315,7 @@ bool cmAddCustomCommandCommand
// Convert working directory to a full path.
if(!working.empty())
{
const char* build_dir = this->Makefile->GetCurrentOutputDirectory();
const char* build_dir = this->Makefile->GetCurrentBinaryDirectory();
working = cmSystemTools::CollapseFullPath(working, build_dir);
}