From: rnv Date: Mon, 26 Aug 2019 16:24:53 +0000 (+0300) Subject: Improve documentation generation. X-Git-Tag: V9_4_0a1^0 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c29c8a7c594a259ecbe93a320d4ee6b91da63379;p=plugins%2Fgmshplugin.git Improve documentation generation. --- diff --git a/doc/salome/gui/GMSHPLUGIN/CMakeLists.txt b/doc/salome/gui/GMSHPLUGIN/CMakeLists.txt index 3ac3392..7c0f5fd 100644 --- a/doc/salome/gui/GMSHPLUGIN/CMakeLists.txt +++ b/doc/salome/gui/GMSHPLUGIN/CMakeLists.txt @@ -23,14 +23,14 @@ SALOME_CONFIGURE_FILE(doxyfile_py.in doxyfile_py) SALOME_CONFIGURE_FILE(static/header.html.in ${CMAKE_CURRENT_BINARY_DIR}/static/header.html) SALOME_CONFIGURE_FILE(static/header_py.html.in ${CMAKE_CURRENT_BINARY_DIR}/static/header_py.html) -SET(DOC_SMESH_MeshersList GMSHPlugin) SET(smesh_file "$(SMESH_ROOT_DIR)/bin/salome/collect_mesh_methods.py") SET(kernel_file "$ENV{KERNEL_ROOT_DIR}/bin/salome/prepare_generating_doc.py") -SALOME_ACCUMULATE_ENVIRONMENT(SMESH_MeshersList NOCHECK ${DOC_SMESH_MeshersList}) +SET(ADD_VAR) +LIST(APPEND ADD_VAR SMESH_MeshersList=GMSHPlugin) SET(_cmd_options ${smesh_file} -d -o tmp/smeshBuilder.py GMSHPlugin) -SALOME_GENERATE_ENVIRONMENT_SCRIPT(_cmd env_script "${PYTHON_EXECUTABLE}" "${_cmd_options}") +SALOME_GENERATE_ENVIRONMENT_SCRIPT(_cmd env_script "${PYTHON_EXECUTABLE}" "${_cmd_options}" CONTEXT "GMSHPLUGIN_DOC" ADDITIONAL_VARIABLES ${ADD_VAR}) ADD_CUSTOM_TARGET(usr_docs ${CMAKE_COMMAND} -E make_directory tmp COMMAND ${PYTHON_EXECUTABLE} ${kernel_file} -o tmp/GMSHPluginBuilder.py ${CMAKE_SOURCE_DIR}/src/GMSHPlugin/GMSHPluginBuilder.py