1 # If it is a core package and is build is set to off...
2 IF(NOT ${BBTK_PACKAGE_NAME}_EXCLUDE_FROM_BUILD_ALL)
3 SWITCH_ON_IF_BUILD_ALL(BUILD_BBTK_PACKAGE_${BBTK_PACKAGE_NAME})
4 ENDIF(NOT ${BBTK_PACKAGE_NAME}_EXCLUDE_FROM_BUILD_ALL)
6 #-----------------------------------------------------------------------
7 # If package deps in global deps : reset global deps
8 IF(${BBTK_PACKAGE_NAME}_IN_DEPS)
9 SET(BBTK_PACKAGES_DEPS "" CACHE INTERNAL
10 "bbtk packages dependencies" FORCE)
11 # STRING(REPLACE "${${BBTK_PACKAGE_NAME}_DEPS};"
13 # ${BBTK_PACKAGES_DEPS})
15 # SET(BBTK_PACKAGES_DEPS ${TEMP}
16 # CACHE INTERNAL "bbtk packages dependencies" FORCE)
17 ENDIF(${BBTK_PACKAGE_NAME}_IN_DEPS)
18 #-----------------------------------------------------------------------
20 #-----------------------------------------------------------------------
21 # Remove the package include scripts to avoid loading it by include *
22 FILE(REMOVE ${BBTK_BBS_BUILD_PATH}/${BBTK_PACKAGE_NAME}.bbp)
23 FILE(REMOVE ${BBTK_BBS_BUILD_PATH}/${BBTK_PACKAGE_NAME}-appli.bbp)
24 #-----------------------------------------------------------------------