diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-04-16 19:57:52 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-04-20 22:15:20 (GMT) |
commit | b288a997e9fc4f0a7ea23fc2f1439e34b5975704 (patch) | |
tree | 41f4ef6a874cb12b1f5ae00ecedf5805884c8648 /Source/CTest | |
parent | 932d53bc026bfb18595deafce60c8c8c10a8a139 (diff) | |
download | CMake-b288a997e9fc4f0a7ea23fc2f1439e34b5975704.zip CMake-b288a997e9fc4f0a7ea23fc2f1439e34b5975704.tar.gz CMake-b288a997e9fc4f0a7ea23fc2f1439e34b5975704.tar.bz2 |
cmMakefile: Rename SetStart* directory API to SetCurrent*.
Diffstat (limited to 'Source/CTest')
-rw-r--r-- | Source/CTest/cmCTestScriptHandler.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/CTest/cmCTestScriptHandler.cxx b/Source/CTest/cmCTestScriptHandler.cxx index 31c0171..7f64d57 100644 --- a/Source/CTest/cmCTestScriptHandler.cxx +++ b/Source/CTest/cmCTestScriptHandler.cxx @@ -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 |