X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=CMakeLists.txt;h=ab5e89633c06b9b89600a3cd6289edd46dd34542;hb=abd6f065ac38382c22862585db8bbb393ee5e8d3;hp=5b110e42453802969a7018776a892a4e25204d30;hpb=ba590c90164ed4849030febe99143476a4a4abe6;p=crea.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 5b110e4..ab5e896 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,3 +1,11 @@ +# --------------------------------- +# +# Unless you are an experimented cmake user, +# have a look at : +# http://www.creatis.insa-lyon.fr/site/fr/CreatoosGettingStarted-v2.0.X +# before starting +# --------------------------------- + CMAKE_MINIMUM_REQUIRED(VERSION 2.4) PROJECT(crea) @@ -8,6 +16,7 @@ SET(CREA_CMAKE_DIR ${PROJECT_SOURCE_DIR}/${CREA_CMAKE_REL_PATH}) INCLUDE(${CREA_CMAKE_DIR}/CREACMakeSettings.cmake NO_POLICY_SCOPE) INCLUDE(${CREA_CMAKE_DIR}/CREAMacros.cmake) + CREA_PREVENT_IN_SOURCE_BUILD() SET(USE_BOOST ON) @@ -43,7 +52,8 @@ MARK_AS_ADVANCED( ) #----------------------------------------------------------------------------- # messages compilation options -OPTION ( CREA_COMPILE_DEBUG_MESSAGES "Compile CREA debug messages ?" OFF) + +OPTION ( CREA_COMPILE_DEBUG_MESSAGES "Compile CREA debug messages ?" USE_DEBUG_LIB) OPTION ( CREA_COMPILE_ERROR_MESSAGES "Compile CREA error messages ?" ON) OPTION ( CREA_COMPILE_MESSAGES "Compile CREA messages ?" ON) OPTION ( CREA_COMPILE_WARNING_MESSAGES "Compile CREA warning messages ?" ON)