1 # ---------------------------------------------------------------------
3 # Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image
5 # Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton
7 # This software is governed by the CeCILL-B license under French law and
8 # abiding by the rules of distribution of free software. You can use,
9 # modify and/ or redistribute the software under the terms of the CeCILL-B
10 # license as circulated by CEA, CNRS and INRIA at the following URL
11 # http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
12 # or in the file LICENSE.txt.
14 # As a counterpart to the access to the source code and rights to copy,
15 # modify and redistribute granted by the license, users are provided only
16 # with a limited warranty and the software's author, the holder of the
17 # economic rights, and the successive licensors have only limited
20 # The fact that you are presently reading this means that you have had
21 # knowledge of the CeCILL-B license and that you accept its terms.
22 # ------------------------------------------------------------------------ */
25 #-----------------------------------------------------------------------------
26 IF(BUILD_${PROJECT_NAME}_DOC AND BUILD_${PROJECT_NAME}_DOC_DOXYGEN)
27 INCLUDE(../cmake/UserBuildDoxygenDoc.cmake)
28 ADD_SUBDIRECTORY(UserDoxygen)
29 ENDIF(BUILD_${PROJECT_NAME}_DOC AND BUILD_${PROJECT_NAME}_DOC_DOXYGEN)
30 #-----------------------------------------------------------------------------
32 #-----------------------------------------------------------------------------
33 IF(BUILD_${PROJECT_NAME}_DOC AND BUILD_${PROJECT_NAME}_DOC_GUIDES_PDF)
34 INCLUDE(../cmake/UserBuildLatexDoc.cmake)
35 ELSE(BUILD_${PROJECT_NAME}_DOC AND BUILD_${PROJECT_NAME}_DOC_GUIDES_HTML)
36 MACRO(USER_BUILD_LATEX_DOC TEX_FILE)
37 ENDMACRO(USER_BUILD_LATEX_DOC)
38 ENDIF(BUILD_${PROJECT_NAME}_DOC AND BUILD_${PROJECT_NAME}_DOC_GUIDES_PDF)
39 #-----------------------------------------------------------------------------
42 #-----------------------------------------------------------------------------
43 IF(BUILD_${PROJECT_NAME}_DOC AND BUILD_${PROJECT_NAME}_DOC_GUIDES_HTML)
44 INCLUDE(../cmake/UserBuildHtmlDocFromLatex.cmake)
45 ELSE(BUILD_${PROJECT_NAME}_DOC AND BUILD_${PROJECT_NAME}_DOC_GUIDES_HTML)
46 MACRO(USER_BUILD_HTML_DOC_FROM_LATEX SOURCE)
47 ENDMACRO(USER_BUILD_HTML_DOC_FROM_LATEX)
48 ENDIF(BUILD_${PROJECT_NAME}_DOC AND BUILD_${PROJECT_NAME}_DOC_GUIDES_HTML)
49 #-----------------------------------------------------------------------------
52 #-----------------------------------------------------------------------------
53 IF(BUILD_${PROJECT_NAME}_DOC AND BUILD_${PROJECT_NAME}_DOC_GUIDES_PDF OR BUILD_${PROJECT_NAME}_DOC_GUIDES_HTML)
54 ADD_SUBDIRECTORY(UserDocumentation)
55 ENDIF(BUILD_${PROJECT_NAME}_DOC AND BUILD_${PROJECT_NAME}_DOC_GUIDES_PDF OR BUILD_${PROJECT_NAME}_DOC_GUIDES_HTML)
56 #-----------------------------------------------------------------------------
58 IF(BUILD_${PROJECT_NAME}_DOC)
59 # Configure main page index.html for build tree
62 ${${PROJECT_NAME}_DOC_BUILD_PATH}/index.html
67 FILES ${${PROJECT_NAME}_DOC_BUILD_PATH}/index.html
68 DESTINATION ${${PROJECT_NAME}_DOC_INSTALL_PATH}
70 # Configure main page index-no-frame.html for build tree
72 index-no-frame.html.in
73 ${${PROJECT_NAME}_DOC_BUILD_PATH}/index-no-frame.html
78 FILES ${${PROJECT_NAME}_DOC_BUILD_PATH}/index-no-frame.html
79 DESTINATION ${${PROJECT_NAME}_DOC_INSTALL_PATH}
81 # Configure help_contents.html for build tree
84 ${${PROJECT_NAME}_DOC_BUILD_PATH}/help_contents.html
89 FILES ${${PROJECT_NAME}_DOC_BUILD_PATH}/help_contents.html
90 DESTINATION ${${PROJECT_NAME}_DOC_INSTALL_PATH}
93 # Recurse it bbtkWebSite dir
94 ADD_SUBDIRECTORY(template_WebSite)
98 ENDIF(BUILD_${PROJECT_NAME}_DOC)
99 #-----------------------------------------------------------------------------