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 # ------------------------------------------------------------------------ */
29 #-----------------------------------------------------------------------------
30 IF(BUILD_BBTK_DOC AND BUILD_BBTK_DOC_DOXYGEN)
31 INCLUDE(../cmake/BBTKBuildDoxygenDoc.cmake)
32 ADD_SUBDIRECTORY(bbtkDoxygen)
33 ENDIF(BUILD_BBTK_DOC AND BUILD_BBTK_DOC_DOXYGEN)
34 #-----------------------------------------------------------------------------
37 #-----------------------------------------------------------------------------
38 IF(BUILD_BBTK_DOC AND BUILD_BBTK_DOC_GUIDES_PDF)
39 INCLUDE(../cmake/BBTKBuildLatexDoc.cmake)
40 ELSE(BUILD_BBTK_DOC AND BUILD_BBTK_DOC_GUIDES_HTML)
41 MACRO(BBTK_BUILD_LATEX_DOC TEX_FILE)
42 ENDMACRO(BBTK_BUILD_LATEX_DOC)
43 ENDIF(BUILD_BBTK_DOC AND BUILD_BBTK_DOC_GUIDES_PDF)
44 #-----------------------------------------------------------------------------
47 #-----------------------------------------------------------------------------
48 IF(BUILD_BBTK_DOC AND BUILD_BBTK_DOC_GUIDES_HTML)
49 INCLUDE(../cmake/BBTKBuildHtmlDocFromLatex.cmake)
50 ELSE(BUILD_BBTK_DOC AND BUILD_BBTK_DOC_GUIDES_HTML)
51 MACRO(BBTK_BUILD_HTML_DOC_FROM_LATEX SOURCE)
52 ENDMACRO(BBTK_BUILD_HTML_DOC_FROM_LATEX)
53 ENDIF(BUILD_BBTK_DOC AND BUILD_BBTK_DOC_GUIDES_HTML)
54 #-----------------------------------------------------------------------------
57 #-----------------------------------------------------------------------------
58 IF(BUILD_BBTK_DOC AND BUILD_BBTK_DOC_GUIDES_PDF OR BUILD_BBTK_DOC_GUIDES_HTML)
59 ADD_SUBDIRECTORY(bbtkUsersGuide)
60 ADD_SUBDIRECTORY(bbtkPackageDevelopersGuide)
61 ADD_SUBDIRECTORY(bbtkDevelopersGuide)
62 ENDIF(BUILD_BBTK_DOC AND BUILD_BBTK_DOC_GUIDES_PDF OR BUILD_BBTK_DOC_GUIDES_HTML)
63 #-----------------------------------------------------------------------------
66 #-----------------------------------------------------------------------------
69 # Configure main page index.html for build tree
72 ${BBTK_DOC_BUILD_PATH}/index.html
77 FILES ${BBTK_DOC_BUILD_PATH}/index.html
78 DESTINATION ${BBTK_DOC_INSTALL_PATH}
80 # Configure main page index-no-frame.html for build tree
82 index-no-frame.html.in
83 ${BBTK_DOC_BUILD_PATH}/index-no-frame.html
88 FILES ${BBTK_DOC_BUILD_PATH}/index-no-frame.html
89 DESTINATION ${BBTK_DOC_INSTALL_PATH}
91 # Configure help_contents.html for build tree
94 ${BBTK_DOC_BUILD_PATH}/help_contents.html
99 FILES ${BBTK_DOC_BUILD_PATH}/help_contents.html
100 DESTINATION ${BBTK_DOC_INSTALL_PATH}
103 # Recurse it bbtkWebSite dir
104 ADD_SUBDIRECTORY(bbtkWebSite)
108 ENDIF(BUILD_BBTK_DOC)
109 #-----------------------------------------------------------------------------