X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=CMakeLists.txt;h=f10e99ccc4a1014cb517563ae6b5fc7db99df6ae;hb=HEAD;hp=2ae9091d4acce9058a05ea9b8d9879f08b7fab15;hpb=013caccc301fc6039b5c9cd9ef746e22dcca0a5c;p=creaMiniTools.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 2ae9091..f10e99c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -49,6 +49,19 @@ ENDIF(COMMAND cmake_policy AND ${CMAKE_MAJOR_VERSION} EQUAL 2 AND ${CMAKE_MINOR_ PROJECT( creaMiniTools ) ################################### +#----------------------------------------------------------------------------- +# 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) @@ -92,7 +105,7 @@ SET(USE_CREA OFF) SET(USE_GDCM OFF) SET(USE_GDCM_VTK OFF) SET(USE_GDCM2 OFF) -SET(USE_WXWIDGETS OFF) +SET(USE_WXWIDGETS ON) SET(USE_KWWIDGETS OFF) SET(USE_VTK OFF) SET(USE_ITK OFF)