X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=CMakeLists.txt;h=4b8e3d7ba7bcf4f079135017af67ceeb65ab12c6;hb=56eb704bce4e7a4206ffa16c84f3000b8b8f93eb;hp=7f896a63b672ef4f315147d452b7bbac7957f9e7;hpb=fa23dc70a08573d5b954218cc715e9b3848f5bfe;p=creaMaracasVisu.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 7f896a6..4b8e3d7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -38,8 +38,21 @@ 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 1) +SET(PROJECT_MINOR_VERSION 2) SET(PROJECT_BUILD_VERSION 0) #==================================