cmMakefile: Rename SetStart* directory API to SetCurrent*.

This commit is contained in:
Stephen Kelly
2015-04-16 21:57:52 +02:00
parent 932d53bc02
commit b288a997e9
5 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -348,8 +348,8 @@ void cmCTestScriptHandler::CreateCMake()
// Set CMAKE_CURRENT_SOURCE_DIR and CMAKE_CURRENT_BINARY_DIR.
// Also, some commands need Makefile->GetCurrentSourceDirectory().
std::string cwd = cmSystemTools::GetCurrentWorkingDirectory();
this->Makefile->SetStartDirectory(cwd);
this->Makefile->SetStartOutputDirectory(cwd);
this->Makefile->SetCurrentSourceDirectory(cwd);
this->Makefile->SetCurrentBinaryDirectory(cwd);
// remove all cmake commands which are not scriptable, since they can't be
// used in ctest scripts