X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=CMakeLists.txt;h=1afd83e809d7eff839bdc4137093b135404eed6e;hb=bed33c23d52354bfe0c3714493754c60c05cb320;hp=4218ea9bfc765c1d1acf178768d557d728823b81;hpb=e1651d474779d823649657de3e5382677ddc6320;p=gdcm.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 4218ea9b..1afd83e8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,8 @@ PROJECT(GDCM) CMAKE_MINIMUM_REQUIRED(VERSION 1.8) -# The GDCM version number. +#----------------------------------------------------------------------------- +# GDCM version number, usefull for packaging and doxygen doc: SET(GDCM_VERSION_MAJOR 0) SET(GDCM_VERSION_MINOR 4) SET(GDCM_VERSION_PATCH 0) @@ -34,8 +35,8 @@ SET(GDCM_BUILD_SHARED_LIBS ${BUILD_SHARED_LIBS}) # Build directory on which many applications depend SUBDIRS( src - Test Dicts + Test ) #----------------------------------------------------------------------------- @@ -73,6 +74,14 @@ IF(DOXYGEN) ENDIF(GDCM_DOXYGEN) ENDIF(DOXYGEN) +#----------------------------------------------------------------------------- +# Configure files with settings for use by the build. + +# to be rewritten to include only the necessary +#CONFIGURE_FILE(${GDCM_SOURCE_DIR}/UseGdcm.cmake.in +# ${GDCM_BINARY_DIR}/UseGdcm.cmake COPYONLY IMMEDIATE) + + #----------------------------------------------------------------------------- # Copy / paste from old m4 script: