diff options
author | Brad King <brad.king@kitware.com> | 2003-11-12 15:00:54 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2003-11-12 15:00:54 (GMT) |
commit | 37149fc5b325e3c8b6558ccb4f1b793a6e04d7e9 (patch) | |
tree | 7bc65442428afe891791b7e688c7104f68371f32 /Modules/Dart.cmake | |
parent | 343f327b32f3244e88cba160748b7adfc8c2bed0 (diff) | |
download | CMake-37149fc5b325e3c8b6558ccb4f1b793a6e04d7e9.zip CMake-37149fc5b325e3c8b6558ccb4f1b793a6e04d7e9.tar.gz CMake-37149fc5b325e3c8b6558ccb4f1b793a6e04d7e9.tar.bz2 |
BUG#199: If DART_EXPERIMENTAL_USE_PROJECT_NAME is set, the PROJECT_NAME will be included in the name of the Experimental and ExperimentalSubmit targets.
Diffstat (limited to 'Modules/Dart.cmake')
-rw-r--r-- | Modules/Dart.cmake | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Modules/Dart.cmake b/Modules/Dart.cmake index c26590e..70b5ef6 100644 --- a/Modules/Dart.cmake +++ b/Modules/Dart.cmake @@ -150,9 +150,13 @@ IF(BUILD_TESTING) # add testing targets IF(TCL_TCLSH) - ADD_CUSTOM_TARGET(Experimental + SET(DART_EXPERIMENTAL_NAME Experimental) + IF(DART_EXPERIMENTAL_USE_PROJECT_NAME) + SET(DART_EXPERIMENTAL_NAME "${DART_EXPERIMENTAL_NAME}${PROJECT_NAME}") + ENDIF(DART_EXPERIMENTAL_USE_PROJECT_NAME) + ADD_CUSTOM_TARGET(${DART_EXPERIMENTAL_NAME} ${TCL_TCLSH} ${DART_ROOT}/Source/Client/DashboardManager.tcl ${PROJECT_BINARY_DIR}/DartConfiguration.tcl Experimental Start Update Configure Build Test) - ADD_CUSTOM_TARGET(ExperimentalSubmit + ADD_CUSTOM_TARGET(${DART_EXPERIMENTAL_NAME}Submit ${TCL_TCLSH} ${DART_ROOT}/Source/Client/DashboardManager.tcl ${PROJECT_BINARY_DIR}/DartConfiguration.tcl Experimental Submit) # for non IDE based builds nmake and make |