From: Claire Mouton Date: Thu, 13 Mar 2014 14:24:05 +0000 (+0100) Subject: Merge branch 'master' of ssh://git.creatis.insa-lyon.fr/bbtk X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=968f7be1de6def3bb3422cf96fd530da670cff35;hp=853145b6d183053afaee1e6f77a66426fea246f1;p=bbtk.git Merge branch 'master' of ssh://git.creatis.insa-lyon.fr/bbtk --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 9885215..bd3c079 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -37,6 +37,19 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.4) PROJECT(bbtk) #----------------------------------------------------------------------------- +#----------------------------------------------------------------------------- +# Configure Dart testing support. This should be done before any +# MESSAGE(FATAL_ERROR ...) commands are invoked. +IF(INCLUDE_CTEST) + INCLUDE(CTest) + ENABLE_TESTING() +ENDIF(INCLUDE_CTEST) +IF(BUILD_TESTING) + SET(BUILDNAME "${BUILDNAME}" CACHE STRING "Name of build on the dashboard") + MARK_AS_ADVANCED(BUILDNAME) +ENDIF(BUILD_TESTING) +#----------------------------------------------------------------------------- + #----------------------------------------------------------------------------- # Set global configuration of the toolkit INCLUDE(kernel/cmake/BBTKRootCMakeLists.cmake NO_POLICY_SCOPE )