X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=CMakeLists.txt;h=8dafc522fee7090b7c72870d26fd3795bd8227f8;hb=HEAD;hp=cca9220548846e07006f2d5371fe3c0d3bc5f7ba;hpb=782cadf1306a646406ed7a089907f73a5f12c4e5;p=bbtkGEditor.git diff --git a/CMakeLists.txt b/CMakeLists.txt index cca9220..8dafc52 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -35,10 +35,23 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.6) PROJECT( bbtkGEditor ) ################################### +#----------------------------------------------------------------------------- +# 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 1) +SET(PROJECT_MINOR_VERSION 2) SET(PROJECT_BUILD_VERSION 0) SET(PROJECT_VERSION "${PROJECT_MAJOR_VERSION}.${PROJECT_MINOR_VERSION}.${PROJECT_BUILD_VERSION}")