1 # ---------------------------------------------------------------------
3 # Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image
5 # Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton
6 # Previous Authors : Laurent Guigues, Jean-Pierre Roux
7 # CreaTools website : www.creatis.insa-lyon.fr/site/fr/creatools_accueil
9 # This software is governed by the CeCILL-B license under French law and
10 # abiding by the rules of distribution of free software. You can use,
11 # modify and/ or redistribute the software under the terms of the CeCILL-B
12 # license as circulated by CEA, CNRS and INRIA at the following URL
13 # http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
14 # or in the file LICENSE.txt.
16 # As a counterpart to the access to the source code and rights to copy,
17 # modify and redistribute granted by the license, users are provided only
18 # with a limited warranty and the software's author, the holder of the
19 # economic rights, and the successive licensors have only limited
22 # The fact that you are presently reading this means that you have had
23 # knowledge of the CeCILL-B license and that you accept its terms.
24 # ------------------------------------------------------------------------ */
28 #-----------------------------------------------------------------------------
29 IF(BUILD_${PROJECT_NAME}_DOC AND BUILD_${PROJECT_NAME}_DOC_DOXYGEN)
30 INCLUDE(../cmake/UserBuildDoxygenDoc.cmake)
31 ADD_SUBDIRECTORY(UserDoxygen)
32 ENDIF(BUILD_${PROJECT_NAME}_DOC AND BUILD_${PROJECT_NAME}_DOC_DOXYGEN)
33 #-----------------------------------------------------------------------------
35 #-----------------------------------------------------------------------------
36 IF(BUILD_${PROJECT_NAME}_DOC AND BUILD_${PROJECT_NAME}_DOC_GUIDES_PDF)
37 INCLUDE(../cmake/UserBuildLatexDoc.cmake)
38 ELSE(BUILD_${PROJECT_NAME}_DOC AND BUILD_${PROJECT_NAME}_DOC_GUIDES_HTML)
39 MACRO(USER_BUILD_LATEX_DOC TEX_FILE)
40 ENDMACRO(USER_BUILD_LATEX_DOC)
41 ENDIF(BUILD_${PROJECT_NAME}_DOC AND BUILD_${PROJECT_NAME}_DOC_GUIDES_PDF)
42 #-----------------------------------------------------------------------------
45 #-----------------------------------------------------------------------------
46 IF(BUILD_${PROJECT_NAME}_DOC AND BUILD_${PROJECT_NAME}_DOC_GUIDES_HTML)
47 INCLUDE(../cmake/UserBuildHtmlDocFromLatex.cmake)
48 ELSE(BUILD_${PROJECT_NAME}_DOC AND BUILD_${PROJECT_NAME}_DOC_GUIDES_HTML)
49 MACRO(USER_BUILD_HTML_DOC_FROM_LATEX SOURCE)
50 ENDMACRO(USER_BUILD_HTML_DOC_FROM_LATEX)
51 ENDIF(BUILD_${PROJECT_NAME}_DOC AND BUILD_${PROJECT_NAME}_DOC_GUIDES_HTML)
52 #-----------------------------------------------------------------------------
55 #-----------------------------------------------------------------------------
56 IF(BUILD_${PROJECT_NAME}_DOC AND BUILD_${PROJECT_NAME}_DOC_GUIDES_PDF OR BUILD_${PROJECT_NAME}_DOC_GUIDES_HTML)
57 ADD_SUBDIRECTORY(UserDocumentation)
58 ENDIF(BUILD_${PROJECT_NAME}_DOC AND BUILD_${PROJECT_NAME}_DOC_GUIDES_PDF OR BUILD_${PROJECT_NAME}_DOC_GUIDES_HTML)
59 #-----------------------------------------------------------------------------
61 IF(BUILD_${PROJECT_NAME}_DOC)
62 # Configure main page index.html for build tree
65 ${${PROJECT_NAME}_DOC_BUILD_PATH}/index.html
70 FILES ${${PROJECT_NAME}_DOC_BUILD_PATH}/index.html
71 DESTINATION ${${PROJECT_NAME}_DOC_INSTALL_PATH}
73 # Configure main page index-no-frame.html for build tree
75 index-no-frame.html.in
76 ${${PROJECT_NAME}_DOC_BUILD_PATH}/index-no-frame.html
81 FILES ${${PROJECT_NAME}_DOC_BUILD_PATH}/index-no-frame.html
82 DESTINATION ${${PROJECT_NAME}_DOC_INSTALL_PATH}
84 # Configure help_contents.html for build tree
87 ${${PROJECT_NAME}_DOC_BUILD_PATH}/help_contents.html
92 FILES ${${PROJECT_NAME}_DOC_BUILD_PATH}/help_contents.html
93 DESTINATION ${${PROJECT_NAME}_DOC_INSTALL_PATH}
96 # Recurse it bbtkWebSite dir
97 ADD_SUBDIRECTORY(template_WebSite)
101 ENDIF(BUILD_${PROJECT_NAME}_DOC)
102 #-----------------------------------------------------------------------------