+# ---------------------------------------------------------------------
+#
+# Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image
+# pour la Sant�)
+# Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton
+# Previous Authors : Laurent Guigues, Jean-Pierre Roux
+# CreaTools website : www.creatis.insa-lyon.fr/site/fr/creatools_accueil
+#
+# This software is governed by the CeCILL-B license under French law and
+# abiding by the rules of distribution of free software. You can use,
+# modify and/ or redistribute the software under the terms of the CeCILL-B
+# license as circulated by CEA, CNRS and INRIA at the following URL
+# http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
+# or in the file LICENSE.txt.
+#
+# As a counterpart to the access to the source code and rights to copy,
+# modify and redistribute granted by the license, users are provided only
+# with a limited warranty and the software's author, the holder of the
+# economic rights, and the successive licensors have only limited
+# liability.
+#
+# The fact that you are presently reading this means that you have had
+# knowledge of the CeCILL-B license and that you accept its terms.
+# ------------------------------------------------------------------------ */
+
MACRO(CREA_BUILD_DOXYGEN_DOC NAME INPUT DOC_RELATIVE_INSTALL_PATH PREDEFINED)
${CMAKE_CURRENT_BINARY_DIR}/Doxyfile.txt
# DEPENDS bbtk bbi
)
-# Temp removed EED JPR
-# ADD_CUSTOM_TARGET(doxygen_${NAME} ALL
-# DEPENDS ${DOXYGEN_OUTPUT}/${DOXYGEN_HTML_OUTPUT}/index.html
-# )
+#MESSAGE(STATUS "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX")
+#MESSAGE(STATUS "in case of error (Windows), have a look at creaMaracasVisu/lib/doxygen/CMakeLists.txt")
+
+#IF ( ${${PROJECT_NAME}_DOC} STREQUAL ON)
+IF ( ${PROJECT_NAME}_DOC STREQUAL ON)
+ CREA_CPDIR ( ${CMAKE_CURRENT_SOURCE_DIR}/bouml/pPlotter/pPlotter_HTML/ ${DOXYGEN_OUTPUT}/${DOXYGEN_HTML_OUTPUT}/pPlotter_HTML/ )
+ CREA_CPDIR ( ${CMAKE_CURRENT_SOURCE_DIR}/bouml/wxVtkViewer/wxVtkViewer_classDiagram1_HTML/ ${DOXYGEN_OUTPUT}/${DOXYGEN_HTML_OUTPUT}/wxVtkViewer_classDiagram1_HTML/ )
+ CREA_CPDIR ( ${CMAKE_CURRENT_SOURCE_DIR}/bouml/wxVtkViewer/wxVtkViewer_classDiagram2_HTML/ ${DOXYGEN_OUTPUT}/${DOXYGEN_HTML_OUTPUT}/wxVtkViewer_classDiagram2_HTML/ )
+ CREA_CPDIR ( ${CMAKE_CURRENT_SOURCE_DIR}/bouml/manualContour/manualContour_MVC_HTML/ ${DOXYGEN_OUTPUT}/${DOXYGEN_HTML_OUTPUT}/manualContour_MVC_HTML/ )
+ CREA_CPDIR ( ${CMAKE_CURRENT_SOURCE_DIR}/bouml/manualContour/manualContour_Model_HTML/ ${DOXYGEN_OUTPUT}/${DOXYGEN_HTML_OUTPUT}/manualContour_Model_HTML/ )
+ CREA_CPDIR ( ${CMAKE_CURRENT_SOURCE_DIR}/bouml/manualContour/manualContour_View_HTML/ ${DOXYGEN_OUTPUT}/${DOXYGEN_HTML_OUTPUT}/manualContour_View_HTML/ )
+ CREA_CPDIR ( ${CMAKE_CURRENT_SOURCE_DIR}/bouml/manualContour/manualContour_Controler_HTML/ ${DOXYGEN_OUTPUT}/${DOXYGEN_HTML_OUTPUT}/manualContour_Controler_HTML/ )
+ CREA_CPDIR ( ${CMAKE_CURRENT_SOURCE_DIR}/bouml/manualContour/manualContour_SeqCreateContour_HTML/ ${DOXYGEN_OUTPUT}/${DOXYGEN_HTML_OUTPUT}/manualContour_SeqCreateContour_HTML/ )
+ CREA_CPDIR ( ${CMAKE_CURRENT_SOURCE_DIR}/bouml/CutModule/CutModuleDiagrams_HTML/ ${DOXYGEN_OUTPUT}/${DOXYGEN_HTML_OUTPUT}/CutModuleDiagrams_HTML/ )
+ CREA_CPDIR ( ${CMAKE_CURRENT_SOURCE_DIR}/bouml/ThresholdImageView/ThresholdImageView_html/ ${DOXYGEN_OUTPUT}/${DOXYGEN_HTML_OUTPUT}/ThresholdImageView_html/ )
+ CREA_CPDIR ( ${CMAKE_CURRENT_SOURCE_DIR}/bouml/ManualPaint/ManualPaint_html/ ${DOXYGEN_OUTPUT}/${DOXYGEN_HTML_OUTPUT}/ManualPaint_html/ )
+ CREA_CPDIR ( ${CMAKE_CURRENT_SOURCE_DIR}/bouml/GeneralArchitecture/GeneralArchitecture_HTML/ ${DOXYGEN_OUTPUT}/${DOXYGEN_HTML_OUTPUT}/GeneralArchitecture_HTML/ )
+ CREA_CPDIR ( ${CMAKE_CURRENT_SOURCE_DIR}/bouml/ButtonContainer/ButtonContainerModify_HTML/ ${DOXYGEN_OUTPUT}/${DOXYGEN_HTML_OUTPUT}/ButtonContainerModify_HTML/ )
+
+
+ ADD_CUSTOM_TARGET(doxygen_${NAME} ALL
+ DEPENDS ${DOXYGEN_OUTPUT}/${DOXYGEN_HTML_OUTPUT}/index.html
+ )
# INSTALL(
# DIRECTORY
# DESTINATION
# ${BBTK_DOXYGEN_INSTALL_PATH}/${DOC_RELATIVE_INSTALL_PATH}
# )
+
+#ENDIF ( ${${PROJECT_NAME}_DOC} STREQUAL ON)
+ENDIF ( ${PROJECT_NAME}_DOC STREQUAL ON)
#--------------------------------------------------------------------------
ENDMACRO(CREA_BUILD_DOXYGEN_DOC)
SET(INPUT
${CMAKE_CURRENT_BINARY_DIR}/DoxyMainPage.txt
${PROJECT_SOURCE_DIR}/lib/maracasVisuLib
+ ${PROJECT_SOURCE_DIR}/lib/GUI
+ ${PROJECT_SOURCE_DIR}/lib/Kernel
)
SET(DOXYGEN_DOC_PREDEFINED USE_WXWIDGETS)
CREA_BUILD_DOXYGEN_DOC(
- ${CMAKE_PROJECT_NAME}
+ ${CMAKE_PROJECT_NAME}_lib
"${INPUT}"
"doxygen"
"${CREA_DEFINITIONS}"