X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2Fdoxygen%2FCMakeLists.txt;h=bc994736bd98ac24e3b0a1bb6592a1134bf3970f;hb=cef231b63d21ad7ac9914306a0a012666c24f00a;hp=d03ccf5744eb17015cbd849efec4d0de71938024;hpb=d8891e268dbd788932ede97097f41d8653f5e3f2;p=creaMaracasVisu.git diff --git a/lib/doxygen/CMakeLists.txt b/lib/doxygen/CMakeLists.txt index d03ccf5..bc99473 100644 --- a/lib/doxygen/CMakeLists.txt +++ b/lib/doxygen/CMakeLists.txt @@ -1,3 +1,28 @@ +# --------------------------------------------------------------------- +# +# 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) @@ -55,10 +80,29 @@ 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 @@ -66,6 +110,9 @@ MACRO(CREA_BUILD_DOXYGEN_DOC NAME INPUT DOC_RELATIVE_INSTALL_PATH PREDEFINED) # 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) @@ -105,12 +152,14 @@ CONFIGURE_FILE( 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}"