diff options
author | Brad King <brad.king@kitware.com> | 2013-09-19 11:20:19 -0400 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-09-19 11:20:22 -0400 |
commit | 182b93635464ee35100522dec811abb76b55c742 (patch) | |
tree | 363fe6f69bea925cfa2f9888d89656fd5ebdbfa9 | |
parent | 0dd775edc596c4baf09929845d158dfab11f51e9 (diff) | |
download | cmake-182b93635464ee35100522dec811abb76b55c742.tar.gz |
cmake_common: Add hook after ctest_start
Add a "dashboard_hook_started" hook after the ctest_start call.
This gives scripts a chance to override the submission information
that ctest_start loaded from the project's CTestConfig.cmake file.
-rw-r--r-- | cmake_common.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake_common.cmake b/cmake_common.cmake index 6552e1d0b3..576db9a987 100644 --- a/cmake_common.cmake +++ b/cmake_common.cmake @@ -347,6 +347,9 @@ while(NOT dashboard_done) dashboard_hook_start() endif() ctest_start(${dashboard_model}) + if(COMMAND dashboard_hook_started) + dashboard_hook_started() + endif() # Always build if the tree is fresh. set(dashboard_fresh 0) |