X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=CMakeLists.txt;h=f7108613f9e30b58f462ec1584c10214c86983bc;hb=efe10f4ac0d8de45d26ca7b1f74f3676802c1b90;hp=e7e5bdd1ccec5c55af3217470dcfcfbbeaed8a69;hpb=3ca0b85c4c2a31281916c8b45a81742e0f5d818c;p=creaImageIO.git diff --git a/CMakeLists.txt b/CMakeLists.txt index e7e5bdd..f710861 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 @@ -39,6 +39,19 @@ ENDIF(COMMAND cmake_policy AND ${CMAKE_MAJOR_VERSION} EQUAL 2 AND ${CMAKE_MINOR_ PROJECT(creaImageIO) ################################### +#----------------------------------------------------------------------------- +# 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) +#----------------------------------------------------------------------------- + #================================== # The project version SET(PROJECT_MAJOR_VERSION 1) @@ -166,6 +179,8 @@ ENDIF(BUILD_CREA_PACS) ADD_SUBDIRECTORY(appli) ADD_SUBDIRECTORY(bbtk) +ADD_SUBDIRECTORY(lib) +ADD_SUBDIRECTORY(bbtk_Transform3Ddicom_PKG) #EED 31/05/2011 not compiling #ADD_SUBDIRECTORY(tests)