X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=CMakeLists.txt;h=d699297bad3e3027e489d303a08c0797c28f9f4e;hb=307866a8f06b14018ea832926bdf3d887bfffea8;hp=67f07e608061b8df8350935da128006ae4e56b4f;hpb=e4ef2b5df5aac431ff3b806f83b7dd5e55e89d86;p=creaMaracasVisu.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 67f07e6..d699297 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -38,9 +38,22 @@ ENDIF(COMMAND cmake_policy AND ${CMAKE_MAJOR_VERSION} EQUAL 2 AND ${CMAKE_MINOR_ PROJECT(creaMaracasVisu) +#----------------------------------------------------------------------------- +# 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(PROJECT_MAJOR_VERSION 1) -SET(PROJECT_MINOR_VERSION 0) -SET(PROJECT_BUILD_VERSION 4) +SET(PROJECT_MINOR_VERSION 1) +SET(PROJECT_BUILD_VERSION 1) #==================================