X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=CMakeLists.txt;h=c256e1dd57cc6c09da1d6c727c990cf9a4583d53;hb=HEAD;hp=4393e64eb0d77258a4f7f8569da36efc91e751db;hpb=93f4039f5e0ee3ac857dd7a7eaa9687068e89a5a;p=crea.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 4393e64..c256e1d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ # --------------------------------------------------------------------- # # Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image -# pour la Santé) +# pour la Sant�) # Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton # Previous Authors : Laurent Guigues, Jean-Pierre Roux # CreaTools website : www.creatis.insa-lyon.fr/site/fr/creatools_accueil @@ -35,6 +35,18 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.4) PROJECT(crea) +#----------------------------------------------------------------------------- +# 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) + INCLUDE(Version.cmake) SET(CREA_LIBRARY_PROPERTIES ${CREA_LIBRARY_PROPERTIES} @@ -99,8 +111,10 @@ INCLUDE_DIRECTORIES(${PROJECT_BINARY_DIR}/src) INCLUDE_DIRECTORIES(/usr/lib/x86_64-linux-gnu/glib-2.0/include/) #JCP UBUNTU + ADD_SUBDIRECTORY(cmake) ADD_SUBDIRECTORY(src) +ADD_SUBDIRECTORY(data) ADD_SUBDIRECTORY(appli) ADD_SUBDIRECTORY(lib) #-----------------------------------------------------------------------------