From 8d25d47baa5e905e3f69b06464ca396e5c22ad2d Mon Sep 17 00:00:00 2001 From: rnv Date: Mon, 26 Aug 2019 19:26:05 +0300 Subject: [PATCH] Improve documentation generation. --- doc/salome/gui/HexoticPLUGIN/CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/salome/gui/HexoticPLUGIN/CMakeLists.txt b/doc/salome/gui/HexoticPLUGIN/CMakeLists.txt index b52c1d7..169f310 100644 --- a/doc/salome/gui/HexoticPLUGIN/CMakeLists.txt +++ b/doc/salome/gui/HexoticPLUGIN/CMakeLists.txt @@ -26,10 +26,11 @@ SET(DOC_SMESH_MeshersList HexoticPLUGIN) 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=HexoticPLUGIN) SET(_cmd_options ${smesh_file} -d -o tmp/smeshBuilder.py HexoticPLUGIN) -SALOME_GENERATE_ENVIRONMENT_SCRIPT(_cmd env_script "${PYTHON_EXECUTABLE}" "${_cmd_options}") +SALOME_GENERATE_ENVIRONMENT_SCRIPT(_cmd env_script "${PYTHON_EXECUTABLE}" "${_cmd_options}" CONTEXT "HexoticPLUGIN_DOC" ADDITIONAL_VARIABLES ${ADD_VAR}) ADD_CUSTOM_TARGET(usr_docs ${CMAKE_COMMAND} -E make_directory tmp COMMAND ${PYTHON_EXECUTABLE} ${kernel_file} -o tmp/HexoticPLUGINBuilder.py ${CMAKE_SOURCE_DIR}/src/HexoticPlugin/HexoticPLUGINBuilder.py -- 2.39.2