3 #-----------------------------------------------------------------------------
4 IF(BUILD_${PROJECT_NAME}_DOC AND BUILD_${PROJECT_NAME}_DOC_DOXYGEN)
5 INCLUDE(../cmake/UserBuildDoxygenDoc.cmake)
6 ADD_SUBDIRECTORY(UserDoxygen)
7 ENDIF(BUILD_${PROJECT_NAME}_DOC AND BUILD_${PROJECT_NAME}_DOC_DOXYGEN)
8 #-----------------------------------------------------------------------------
10 #-----------------------------------------------------------------------------
11 IF(BUILD_${PROJECT_NAME}_DOC AND BUILD_${PROJECT_NAME}_DOC_GUIDES_PDF)
12 INCLUDE(../cmake/UserBuildLatexDoc.cmake)
13 ELSE(BUILD_${PROJECT_NAME}_DOC AND BUILD_${PROJECT_NAME}_DOC_GUIDES_HTML)
14 MACRO(USER_BUILD_LATEX_DOC TEX_FILE)
15 ENDMACRO(USER_BUILD_LATEX_DOC)
16 ENDIF(BUILD_${PROJECT_NAME}_DOC AND BUILD_${PROJECT_NAME}_DOC_GUIDES_PDF)
17 #-----------------------------------------------------------------------------
20 #-----------------------------------------------------------------------------
21 IF(BUILD_${PROJECT_NAME}_DOC AND BUILD_${PROJECT_NAME}_DOC_GUIDES_HTML)
22 INCLUDE(../cmake/UserBuildHtmlDocFromLatex.cmake)
23 ELSE(BUILD_${PROJECT_NAME}_DOC AND BUILD_${PROJECT_NAME}_DOC_GUIDES_HTML)
24 MACRO(USER_BUILD_HTML_DOC_FROM_LATEX SOURCE)
25 ENDMACRO(USER_BUILD_HTML_DOC_FROM_LATEX)
26 ENDIF(BUILD_${PROJECT_NAME}_DOC AND BUILD_${PROJECT_NAME}_DOC_GUIDES_HTML)
27 #-----------------------------------------------------------------------------
30 #-----------------------------------------------------------------------------
31 IF(BUILD_${PROJECT_NAME}_DOC AND BUILD_${PROJECT_NAME}_DOC_GUIDES_PDF OR BUILD_${PROJECT_NAME}_DOC_GUIDES_HTML)
32 ADD_SUBDIRECTORY(UserDocumentation)
33 ENDIF(BUILD_${PROJECT_NAME}_DOC AND BUILD_${PROJECT_NAME}_DOC_GUIDES_PDF OR BUILD_${PROJECT_NAME}_DOC_GUIDES_HTML)
34 #-----------------------------------------------------------------------------
36 IF(BUILD_${PROJECT_NAME}_DOC)
37 # Configure main page index.html for build tree
40 ${${PROJECT_NAME}_DOC_BUILD_PATH}/index.html
45 FILES ${${PROJECT_NAME}_DOC_BUILD_PATH}/index.html
46 DESTINATION ${${PROJECT_NAME}_DOC_INSTALL_PATH}
48 # Configure main page index-no-frame.html for build tree
50 index-no-frame.html.in
51 ${${PROJECT_NAME}_DOC_BUILD_PATH}/index-no-frame.html
56 FILES ${${PROJECT_NAME}_DOC_BUILD_PATH}/index-no-frame.html
57 DESTINATION ${${PROJECT_NAME}_DOC_INSTALL_PATH}
59 # Configure help_contents.html for build tree
62 ${${PROJECT_NAME}_DOC_BUILD_PATH}/help_contents.html
67 FILES ${${PROJECT_NAME}_DOC_BUILD_PATH}/help_contents.html
68 DESTINATION ${${PROJECT_NAME}_DOC_INSTALL_PATH}
71 # Recurse it bbtkWebSite dir
72 ADD_SUBDIRECTORY(template_WebSite)
76 ENDIF(BUILD_${PROJECT_NAME}_DOC)
77 #-----------------------------------------------------------------------------