From 16d8c1efa746626df257a13fbc1dd782ef2e9bae Mon Sep 17 00:00:00 2001 From: Paul RASCLE Date: Tue, 3 Nov 2015 11:20:47 +0100 Subject: [PATCH] rebranchement doc gui --- doc/salome/gui/CMakeLists.txt | 15 +++++- doc/salome/gui/HYDRO/CMakeLists.txt | 7 ++- doc/salome/gui/doxyfile.in | 83 +++++++++++++++++++++++++++++ 3 files changed, 100 insertions(+), 5 deletions(-) create mode 100644 doc/salome/gui/doxyfile.in diff --git a/doc/salome/gui/CMakeLists.txt b/doc/salome/gui/CMakeLists.txt index 047df8e1..36abd096 100644 --- a/doc/salome/gui/CMakeLists.txt +++ b/doc/salome/gui/CMakeLists.txt @@ -20,4 +20,17 @@ # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com # -ADD_SUBDIRECTORY(HYDRO) +#ADD_SUBDIRECTORY(HYDRO) + +SALOME_CONFIGURE_FILE(doxyfile.in doxyfile) +#SALOME_CONFIGURE_FILE(static/header.html.in static/header.html) + +ADD_CUSTOM_TARGET(usr_docs ${DOXYGEN_EXECUTABLE}) + +ADD_DEPENDENCIES(usr_docs html_docs) + +INSTALL(CODE "EXECUTE_PROCESS(COMMAND \"${CMAKE_COMMAND}\" --build ${PROJECT_BINARY_DIR} --target usr_docs)") +INSTALL(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/HYDRO DESTINATION ${SALOME_INSTALL_DOC}/gui) +#INSTALL(FILES images/head.png DESTINATION ${SALOME_INSTALL_DOC}/gui/HYDRO) + +SET_DIRECTORY_PROPERTIES(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES GUI) diff --git a/doc/salome/gui/HYDRO/CMakeLists.txt b/doc/salome/gui/HYDRO/CMakeLists.txt index 7e2fc082..c7c10b42 100644 --- a/doc/salome/gui/HYDRO/CMakeLists.txt +++ b/doc/salome/gui/HYDRO/CMakeLists.txt @@ -17,7 +17,6 @@ # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com # -SET(docdir ${CMAKE_INSTALL_PREFIX}/share/doc/salome) -FILE(GLOB files "${CMAKE_CURRENT_SOURCE_DIR}/html/*.*") -INSTALL(FILES ${files} DESTINATION ${docdir}/gui/HYDRO) - +#SET(docdir ${CMAKE_INSTALL_PREFIX}/share/doc/salome) +#FILE(GLOB files "${CMAKE_CURRENT_SOURCE_DIR}/html/*.*") +#INSTALL(FILES ${files} DESTINATION ${docdir}/gui/HYDRO) diff --git a/doc/salome/gui/doxyfile.in b/doc/salome/gui/doxyfile.in new file mode 100644 index 00000000..b7995db3 --- /dev/null +++ b/doc/salome/gui/doxyfile.in @@ -0,0 +1,83 @@ +# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE +# +# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, +# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +# + +#--------------------------------------------------------------------------- +# Project related configuration options +#--------------------------------------------------------------------------- +PROJECT_NAME = "SALOME HYDRO User's Guide" +OUTPUT_DIRECTORY = HYDRO +CREATE_SUBDIRS = NO +OUTPUT_LANGUAGE = English +TAB_SIZE = 5 + +#--------------------------------------------------------------------------- +# configuration options related to warning and progress messages +#--------------------------------------------------------------------------- +QUIET = NO +WARNINGS = YES + +#--------------------------------------------------------------------------- +#Input related options +#--------------------------------------------------------------------------- +INPUT = @CMAKE_CURRENT_SOURCE_DIR@/HYDRO +FILE_PATTERNS = *.h +IMAGE_PATH = @CMAKE_CURRENT_SOURCE_DIR@/HYDRO/images + +# @PROJECT_SOURCE_DIR@/src/OCCViewer/resources \ +# @PROJECT_SOURCE_DIR@/src/VTKViewer/resources \ +# @PROJECT_SOURCE_DIR@/src/SVTK/resources \ +# @PROJECT_SOURCE_DIR@/src/Plot2d/resources \ +# @PROJECT_SOURCE_DIR@/src/GLViewer/resources \ +# @PROJECT_SOURCE_DIR@/src/QxScene/resources \ + +#--------------------------------------------------------------------------- +#HTML related options +#--------------------------------------------------------------------------- +GENERATE_HTML = YES +HTML_OUTPUT = . +#HTML_HEADER = @CMAKE_CURRENT_BINARY_DIR@/static/header.html +#HTML_FOOTER = @CMAKE_CURRENT_SOURCE_DIR@/static/footer.html +#HTML_EXTRA_STYLESHEET = @CMAKE_CURRENT_SOURCE_DIR@/static/salome_extra.css +TOC_EXPAND = YES +DISABLE_INDEX = NO +GENERATE_TREEVIEW = YES +TREEVIEW_WIDTH = 300 + +#--------------------------------------------------------------------------- +#SORT related options +#--------------------------------------------------------------------------- +SORT_GROUP_NAMES = NO + +#--------------------------------------------------------------------------- +#LaTeX related option +#--------------------------------------------------------------------------- +GENERATE_LATEX = NO + +#--------------------------------------------------------------------------- +#RTF related options +#--------------------------------------------------------------------------- +GENERATE_RTF = NO + +#--------------------------------------------------------------------------- +#Search engine +#--------------------------------------------------------------------------- +SEARCHENGINE = NO -- 2.39.2