X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=CMakeLists.txt;h=43ae6064a6184cfd159f570d68e38f4324b1f566;hb=refs%2Fheads%2Fvtk7itk4;hp=d23318183c6616828e42c2087d2572d165353af2;hpb=ab5334c59e38e205d1fd826dc7fed9454f5194ab;p=creaRigidRegistration.git diff --git a/CMakeLists.txt b/CMakeLists.txt index d233181..43ae606 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -45,11 +45,24 @@ ENDIF(COMMAND cmake_policy AND ${CMAKE_MAJOR_VERSION} EQUAL 2 AND ${CMAKE_MINOR_ PROJECT(creaRigidRegistration) ################################### +#----------------------------------------------------------------------------- +# 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) -SET(PROJECT_MINOR_VERSION 0) -SET(PROJECT_BUILD_VERSION 2) +SET(PROJECT_MINOR_VERSION 1) +SET(PROJECT_BUILD_VERSION 0) #================================== # JPR 4 mars 2011