ENH: Add variable that holds cmake executable

This commit is contained in:
Andy Cedilnik 2005-05-05 10:18:04 -04:00
parent 21050b5b62
commit 407eac60f5
1 changed files with 2 additions and 0 deletions

View File

@ -219,6 +219,8 @@ int cmCTestScriptHandler::ReadInScript(const std::string& total_script_arg)
cmSystemTools::GetFilenameName(script).c_str());
m_Makefile->AddDefinition("CTEST_EXECUTABLE_NAME",
m_CTest->GetCTestExecutable());
m_Makefile->AddDefinition("CMAKE_EXECUTABLE_NAME",
m_CTest->GetCMakeExecutable());
m_Makefile->AddDefinition("CTEST_RUN_CURRENT_SCRIPT", true);
this->UpdateElapsedTime();