summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestScriptHandler.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-05-05 14:18:04 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-05-05 14:18:04 (GMT)
commit407eac60f53141c9a20454922aef917114a88572 (patch)
treee50614dd5e55bc593087b532b9a31465285a3e07 /Source/CTest/cmCTestScriptHandler.cxx
parent21050b5b62fc03b7bc5946b159e947a00cd1a7ae (diff)
downloadCMake-407eac60f53141c9a20454922aef917114a88572.zip
CMake-407eac60f53141c9a20454922aef917114a88572.tar.gz
CMake-407eac60f53141c9a20454922aef917114a88572.tar.bz2
ENH: Add variable that holds cmake executable
Diffstat (limited to 'Source/CTest/cmCTestScriptHandler.cxx')
-rw-r--r--Source/CTest/cmCTestScriptHandler.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestScriptHandler.cxx b/Source/CTest/cmCTestScriptHandler.cxx
index 71c4bb0..433da14 100644
--- a/Source/CTest/cmCTestScriptHandler.cxx
+++ b/Source/CTest/cmCTestScriptHandler.cxx
@@ -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();