From: Eduardo DAVILA Date: Thu, 26 Aug 2021 07:22:03 +0000 (+0200) Subject: #3471 bug BUILD_ALL X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=c3a7a00bd0da313c31632bca293e79fd0b65d048;p=bbtk.git #3471 bug BUILD_ALL --- diff --git a/kernel/cmake/BBTKBuildAllOption.cmake b/kernel/cmake/BBTKBuildAllOption.cmake index 838c1d0..ca0cd9f 100644 --- a/kernel/cmake/BBTKBuildAllOption.cmake +++ b/kernel/cmake/BBTKBuildAllOption.cmake @@ -25,13 +25,13 @@ #----------------------------------------------------------------------------- -# If --BUILD_ALL is set to ON then all options +# If 0-BUILD_ALL is set to ON then all options # for which the macro SWITCH_ON_IF_BUILD_ALL have been used are set to ON -# The -- prepended to the options ensure that it will appear as the +# The 0- prepended to the options ensure that it will appear as the # first option when running ccmake/CMakeSetup IF (BBTK_CORE_PACKAGE) - OPTION(__BUILD_ALL "Build all ?" OFF) + OPTION(0-BUILD_ALL "Build all ?" OFF) #EED2021-08-26 OPTION(--BUILD_ALL "Build all ?" OFF) #OPTION(--SET_BUILD_ALL_OFF "Build all ?" OFF) @@ -41,7 +41,7 @@ IF (BBTK_CORE_PACKAGE) #OPTION(--${VAR}_SET_BUILD_ALL_OFF "Build all ?" OFF) #MARK_AS_ADVANCED(--${VAR}_SET_BUILD_ALL_OFF) - IF (__BUILD_ALL) + IF (0-BUILD_ALL) #EED2021-08-26 IF (--BUILD_ALL) # IF (--${VAR}_SET_BUILD_ALL_OFF) @@ -50,14 +50,14 @@ IF (BBTK_CORE_PACKAGE) # SET(--${VAR}_SET_BUILD_ALL_OFF OFF CACHE BOOL "" FORCE) # ELSE (--${VAR}_SET_BUILD_ALL_OFF) - SET(${VAR} ON CACHE BOOL "Forced to ON by __BUILD_ALL" FORCE) + SET(${VAR} ON CACHE BOOL "Forced to ON by 0-BUILD_ALL" FORCE) #EED2021-08-26 SET(${VAR} ON CACHE BOOL "Forced to ON by --BUILD_ALL" FORCE) # SET(--${VAR}_SET_BUILD_ALL_OFF ON CACHE BOOL "" FORCE) # MESSAGE(ERROR "Build All -> ${VAR}") # ENDIF (--${VAR}_SET_BUILD_ALL_OFF) - ENDIF(__BUILD_ALL) + ENDIF(0-BUILD_ALL) #EED2021-08-26 ENDIF(--BUILD_ALL) ENDMACRO(SWITCH_ON_IF_BUILD_ALL)