3 #-----------------------------------------------------------------------------
4 IF(BUILD_BBTK_DOC AND BUILD_BBTK_DOC_DOXYGEN)
5 INCLUDE(../cmake/BBTKBuildDoxygenDoc.cmake)
6 ADD_SUBDIRECTORY(bbtkDoxygen)
7 ENDIF(BUILD_BBTK_DOC AND BUILD_BBTK_DOC_DOXYGEN)
8 #-----------------------------------------------------------------------------
11 #-----------------------------------------------------------------------------
12 IF(BUILD_BBTK_DOC AND BUILD_BBTK_DOC_GUIDES_PDF)
13 INCLUDE(../cmake/BBTKBuildLatexDoc.cmake)
14 ELSE(BUILD_BBTK_DOC AND BUILD_BBTK_DOC_GUIDES_HTML)
15 MACRO(BBTK_BUILD_LATEX_DOC TEX_FILE)
16 ENDMACRO(BBTK_BUILD_LATEX_DOC)
17 ENDIF(BUILD_BBTK_DOC AND BUILD_BBTK_DOC_GUIDES_PDF)
18 #-----------------------------------------------------------------------------
21 #-----------------------------------------------------------------------------
22 IF(BUILD_BBTK_DOC AND BUILD_BBTK_DOC_GUIDES_HTML)
23 INCLUDE(../cmake/BBTKBuildHtmlDocFromLatex.cmake)
24 ELSE(BUILD_BBTK_DOC AND BUILD_BBTK_DOC_GUIDES_HTML)
25 MACRO(BBTK_BUILD_HTML_DOC_FROM_LATEX SOURCE)
26 ENDMACRO(BBTK_BUILD_HTML_DOC_FROM_LATEX)
27 ENDIF(BUILD_BBTK_DOC AND BUILD_BBTK_DOC_GUIDES_HTML)
28 #-----------------------------------------------------------------------------
31 #-----------------------------------------------------------------------------
32 IF(BUILD_BBTK_DOC AND BUILD_BBTK_DOC_GUIDES_PDF OR BUILD_BBTK_DOC_GUIDES_HTML)
33 ADD_SUBDIRECTORY(bbtkUsersGuide)
34 ADD_SUBDIRECTORY(bbtkPackageDevelopersGuide)
35 ADD_SUBDIRECTORY(bbtkDevelopersGuide)
36 ENDIF(BUILD_BBTK_DOC AND BUILD_BBTK_DOC_GUIDES_PDF OR BUILD_BBTK_DOC_GUIDES_HTML)
37 #-----------------------------------------------------------------------------
40 #-----------------------------------------------------------------------------
43 # Configure main page index.html for build tree
46 ${BBTK_DOC_BUILD_PATH}/index.html
51 FILES ${BBTK_DOC_BUILD_PATH}/index.html
52 DESTINATION ${BBTK_DOC_INSTALL_PATH}
54 # Configure main page index-no-frame.html for build tree
56 index-no-frame.html.in
57 ${BBTK_DOC_BUILD_PATH}/index-no-frame.html
62 FILES ${BBTK_DOC_BUILD_PATH}/index-no-frame.html
63 DESTINATION ${BBTK_DOC_INSTALL_PATH}
65 # Configure help_contents.html for build tree
68 ${BBTK_DOC_BUILD_PATH}/help_contents.html
73 FILES ${BBTK_DOC_BUILD_PATH}/help_contents.html
74 DESTINATION ${BBTK_DOC_INSTALL_PATH}
77 # Recurse it bbtkWebSite dir
78 ADD_SUBDIRECTORY(bbtkWebSite)
83 #-----------------------------------------------------------------------------