From 8854550d7fedf3076a2348cd7a46698a35f1dc63 Mon Sep 17 00:00:00 2001 From: rnv Date: Mon, 26 Aug 2019 19:24:23 +0300 Subject: [PATCH] Improve documentation generation. --- doc/salome/gui/GHS3DPRLPLUGIN/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/salome/gui/GHS3DPRLPLUGIN/CMakeLists.txt b/doc/salome/gui/GHS3DPRLPLUGIN/CMakeLists.txt index 85fea8e..73f2160 100644 --- a/doc/salome/gui/GHS3DPRLPLUGIN/CMakeLists.txt +++ b/doc/salome/gui/GHS3DPRLPLUGIN/CMakeLists.txt @@ -22,14 +22,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 GHS3DPRLPlugin) SET(smesh_file "$(SMESH_ROOT_DIR)/bin/salome/collect_mesh_methods.py") SET(kernel_file "${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=GHS3DPRLPlugin) SET(_cmd_options ${smesh_file} -d -o tmp/smeshBuilder.py GHS3DPRLPlugin) -SALOME_GENERATE_ENVIRONMENT_SCRIPT(_cmd env_script "${PYTHON_EXECUTABLE}" "${_cmd_options}") +SALOME_GENERATE_ENVIRONMENT_SCRIPT(_cmd env_script "${PYTHON_EXECUTABLE}" "${_cmd_options}" CONTEXT "GHS3DPRLPLUGIN_DOC" ADDITIONAL_VARIABLES ${ADD_VAR}) ADD_CUSTOM_TARGET(usr_docs ${CMAKE_COMMAND} -E make_directory tmp COMMAND ${PYTHON_EXECUTABLE} ${kernel_file} -o tmp/GHS3DPRLPluginBuilder.py ${CMAKE_SOURCE_DIR}/src/GHS3DPRLPlugin/GHS3DPRLPluginBuilder.py -- 2.39.2