mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
cmMakefile: Rename GetCurrent{Output,Binary}Directory.
Match names used in CMake code.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user