1 #---------------------------------------------------------------------------
3 # If a core package set doc options from bbtk global ones
4 #IF (BUILD_BBTK_DOC_PACKAGE)
5 # SET(BUILD_BBTK_PACKAGE_${BBTK_PACKAGE_NAME}_HTML_DOC ON)
6 #ELSE (BUILD_BBTK_DOC_PACKAGE)
7 # SET(BUILD_BBTK_PACKAGE_${BBTK_PACKAGE_NAME}_HTML_DOC OFF)
8 #ENDIF (BUILD_BBTK_DOC_PACKAGE)
9 IF (BUILD_BBTK_DOC_DOXYGEN)
10 SET(BUILD_BBTK_PACKAGE_${BBTK_PACKAGE_NAME}_DOXYGEN_DOC ON)
11 ELSE (BUILD_BBTK_DOC_DOXYGEN)
12 SET(BUILD_BBTK_PACKAGE_${BBTK_PACKAGE_NAME}_DOXYGEN_DOC OFF)
13 ENDIF (BUILD_BBTK_DOC_DOXYGEN)
14 ELSE(BBTK_CORE_PACKAGE)
15 # If not a core package
16 # Create the build doc options
17 #OPTION(BUILD_BBTK_PACKAGE_${BBTK_PACKAGE_NAME}_HTML_DOC
18 # "Build the bbtk package ${BBTK_PACKAGE_NAME} html documentation ?" OFF)
19 #SWITCH_ON_IF_BUILD_ALL(BUILD_BBTK_PACKAGE_${BBTK_PACKAGE_NAME}_HTML_DOC)
20 OPTION(BUILD_BBTK_PACKAGE_${BBTK_PACKAGE_NAME}_DOXYGEN_DOC
21 "Build the bbtk package ${BBTK_PACKAGE_NAME} doxygen documentation ?" OFF)
22 SWITCH_ON_IF_BUILD_ALL(BUILD_BBTK_PACKAGE_${BBTK_PACKAGE_NAME}_DOXYGEN_DOC)
23 ENDIF(BBTK_CORE_PACKAGE)
24 #---------------------------------------------------------------------------
26 #----------------------------------------------------------------------------
29 #----------------------------------------------------------------------------
31 #----------------------------------------------------------------------------
32 IF(BUILD_BBTK_PACKAGE_${BBTK_PACKAGE_NAME}_DOXYGEN_DOC)
33 SET(${BBTK_PACKAGE_NAME}_DOXYGEN_REL_PATH ${BBTK_PACKAGE_NAME})
34 ADD_SUBDIRECTORY(doxygen)
35 ENDIF(BUILD_BBTK_PACKAGE_${BBTK_PACKAGE_NAME}_DOXYGEN_DOC)
36 #----------------------------------------------------------------------------
40 #----------------------------------------------------------------------------
42 #---------------------------------------------------------------------------
43 #IF(BUILD_BBTK_PACKAGE_${BBTK_PACKAGE_NAME}_HTML_DOC)
44 ADD_SUBDIRECTORY(bbdoc)
45 #ENDIF(BUILD_BBTK_PACKAGE_${BBTK_PACKAGE_NAME}_HTML_DOC)
46 #---------------------------------------------------------------------------