X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=CMakeLists.txt;h=9514401eedcb376b4dd3204a5402a82213af3126;hb=947acfe6b7e7f37d3523f9d5eabfeb9277292aad;hp=98852157a683342752b5cee6d0070f87433ccd9a;hpb=cfad95b6e08e6e53846ffcda7fbc5932065f2c47;p=bbtk.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 9885215..9514401 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 ) @@ -69,6 +82,17 @@ ADD_SUBDIRECTORY(packages) #----------------------------------------------------------------------------- # The samples + +#----JFGA EED---- 06/10/2015 +OPTION(USE_WT "Build bbtk web" OFF) + +#IF(CREA_BUILD_BBTK_WEB) +# SET(USE_WT ON) +#ELSE(CREA_BUILD_BBTK_WEB) +# SET(USE_WT OFF) +#ENDIF(CREA_BUILD_BBTK_WEB) + + # WARNING # Install the creaTools first # then build the 'samples' as a separate project