1 #---------------------------------------------------------------------------
2 # If not a core package
3 # set the build doc option
4 # and include necessary cmake scripts
5 IF(NOT BBTK_CORE_PACKAGE)
7 # INCLUDE(${BBTK_DIR}/BBTKMacros.cmake)
8 # INCLUDE(${BBTK_DIR}/BBTKFindLibraries.cmake)
10 OPTION(BUILD_BBTK_PACKAGE_${BBTK_PACKAGE_NAME}_HTML_DOC
11 "Build the bbtk package ${BBTK_PACKAGE_NAME} html documentation ?" OFF)
12 SWITCH_ON_IF_BUILD_ALL(BUILD_BBTK_PACKAGE_${BBTK_PACKAGE_NAME}_HTML_DOC)
13 IF (BUILD_BBTK_PACKAGE_${BBTK_PACKAGE_NAME}_HTML_DOC)
14 SET(BUILD_bbtk_DOC_BBTK_PACKAGE ON)
16 ENDIF (BUILD_BBTK_PACKAGE_${BBTK_PACKAGE_NAME}_HTML_DOC)
18 OPTION(BUILD_BBTK_PACKAGE_${BBTK_PACKAGE_NAME}_DOXYGEN_DOC
19 "Build the bbtk package ${BBTK_PACKAGE_NAME} doxygen documentation ?" OFF)
20 SWITCH_ON_IF_BUILD_ALL(BUILD_BBTK_PACKAGE_${BBTK_PACKAGE_NAME}_DOXYGEN_DOC)
21 IF (BUILD_BBTK_PACKAGE_${BBTK_PACKAGE_NAME}_DOXYGEN_DOC)
22 SET(BUILD_bbtk_DOC_DOXYGEN ON)
24 ENDIF (BUILD_BBTK_PACKAGE_${BBTK_PACKAGE_NAME}_DOXYGEN_DOC)
25 ENDIF(NOT BBTK_CORE_PACKAGE)
26 #---------------------------------------------------------------------------
28 #----------------------------------------------------------------------------
31 #----------------------------------------------------------------------------
33 #----------------------------------------------------------------------------
34 IF(BUILD_bbtk_DOC_DOXYGEN)
35 SET(BBTK_PACKAGE_DOXYGEN_REL_PATH
39 ENDIF(BUILD_bbtk_DOC_DOXYGEN)
40 #----------------------------------------------------------------------------
44 #----------------------------------------------------------------------------
46 #---------------------------------------------------------------------------
47 IF(BUILD_bbtk_DOC_PACKAGE)
50 ENDIF(BUILD_bbtk_DOC_PACKAGE)
51 #---------------------------------------------------------------------------