2 # ---------------------------------------------------------------------
4 # Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image
6 # Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton
8 # This software is governed by the CeCILL-B license under French law and
9 # abiding by the rules of distribution of free software. You can use,
10 # modify and/ or redistribute the software under the terms of the CeCILL-B
11 # license as circulated by CEA, CNRS and INRIA at the following URL
12 # http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
13 # or in the file LICENSE.txt.
15 # As a counterpart to the access to the source code and rights to copy,
16 # modify and redistribute granted by the license, users are provided only
17 # with a limited warranty and the software's author, the holder of the
18 # economic rights, and the successive licensors have only limited
21 # The fact that you are presently reading this means that you have had
22 # knowledge of the CeCILL-B license and that you accept its terms.
23 # ------------------------------------------------------------------------ */
27 #-----------------------------------------------------------------------------
28 IF(BUILD_${PROJECT_NAME}_DOC AND BUILD_${PROJECT_NAME}_DOC_DOXYGEN)
29 INCLUDE(../cmake/UserBuildDoxygenDoc.cmake)
30 ADD_SUBDIRECTORY(UserDoxygen)
31 ENDIF(BUILD_${PROJECT_NAME}_DOC AND BUILD_${PROJECT_NAME}_DOC_DOXYGEN)
32 #-----------------------------------------------------------------------------
34 #-----------------------------------------------------------------------------
35 IF(BUILD_${PROJECT_NAME}_DOC AND BUILD_${PROJECT_NAME}_DOC_GUIDES_PDF)
36 INCLUDE(../cmake/UserBuildLatexDoc.cmake)
37 ELSE(BUILD_${PROJECT_NAME}_DOC AND BUILD_${PROJECT_NAME}_DOC_GUIDES_HTML)
38 MACRO(USER_BUILD_LATEX_DOC TEX_FILE)
39 ENDMACRO(USER_BUILD_LATEX_DOC)
40 ENDIF(BUILD_${PROJECT_NAME}_DOC AND BUILD_${PROJECT_NAME}_DOC_GUIDES_PDF)
41 #-----------------------------------------------------------------------------
44 #-----------------------------------------------------------------------------
45 IF(BUILD_${PROJECT_NAME}_DOC AND BUILD_${PROJECT_NAME}_DOC_GUIDES_HTML)
46 INCLUDE(../cmake/UserBuildHtmlDocFromLatex.cmake)
47 ELSE(BUILD_${PROJECT_NAME}_DOC AND BUILD_${PROJECT_NAME}_DOC_GUIDES_HTML)
48 MACRO(USER_BUILD_HTML_DOC_FROM_LATEX SOURCE)
49 ENDMACRO(USER_BUILD_HTML_DOC_FROM_LATEX)
50 ENDIF(BUILD_${PROJECT_NAME}_DOC AND BUILD_${PROJECT_NAME}_DOC_GUIDES_HTML)
51 #-----------------------------------------------------------------------------
54 #-----------------------------------------------------------------------------
55 IF(BUILD_${PROJECT_NAME}_DOC AND BUILD_${PROJECT_NAME}_DOC_GUIDES_PDF OR BUILD_${PROJECT_NAME}_DOC_GUIDES_HTML)
56 ADD_SUBDIRECTORY(UserDocumentation)
57 ENDIF(BUILD_${PROJECT_NAME}_DOC AND BUILD_${PROJECT_NAME}_DOC_GUIDES_PDF OR BUILD_${PROJECT_NAME}_DOC_GUIDES_HTML)
58 #-----------------------------------------------------------------------------
60 IF(BUILD_${PROJECT_NAME}_DOC)
61 # Configure main page index.html for build tree
64 ${${PROJECT_NAME}_DOC_BUILD_PATH}/index.html
69 FILES ${${PROJECT_NAME}_DOC_BUILD_PATH}/index.html
70 DESTINATION ${${PROJECT_NAME}_DOC_INSTALL_PATH}
72 # Configure main page index-no-frame.html for build tree
74 index-no-frame.html.in
75 ${${PROJECT_NAME}_DOC_BUILD_PATH}/index-no-frame.html
80 FILES ${${PROJECT_NAME}_DOC_BUILD_PATH}/index-no-frame.html
81 DESTINATION ${${PROJECT_NAME}_DOC_INSTALL_PATH}
83 # Configure help_contents.html for build tree
86 ${${PROJECT_NAME}_DOC_BUILD_PATH}/help_contents.html
91 FILES ${${PROJECT_NAME}_DOC_BUILD_PATH}/help_contents.html
92 DESTINATION ${${PROJECT_NAME}_DOC_INSTALL_PATH}
95 # Recurse it bbtkWebSite dir
96 ADD_SUBDIRECTORY(template_WebSite)
100 ENDIF(BUILD_${PROJECT_NAME}_DOC)
101 #-----------------------------------------------------------------------------