mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-27 07:10:33 +05:00
Build documentation under Windows.
This commit is contained in:
parent
d61b06f0eb
commit
5086ff6710
@ -45,11 +45,11 @@ ENDIF()
|
||||
|
||||
# 1. Options for generating temporary python modules
|
||||
SET(_cmd_tmp_gen_options ${smesh_file} -o tmp1/smeshBuilder_dynamic.py -f sphinx StdMeshers)
|
||||
SALOME_GENERATE_ENVIRONMENT_SCRIPT(_cmd_tmp_gen env_script "${PYTHON_EXECUTABLE}" "${_cmd_tmp_gen_options}")
|
||||
SALOME_GENERATE_ENVIRONMENT_SCRIPT(_cmd_tmp_gen env_script "${PYTHON_EXECUTABLE}" "${_cmd_tmp_gen_options}" CONTEXT "SMESH_DOC")
|
||||
|
||||
# 2. Options for generating final smeshBuilder.py script
|
||||
SET(_cmd_smeshBuilder_gen_options ${smesh_merge_file} -o tmp2/smeshBuilder.py smeshBuilder)
|
||||
SALOME_GENERATE_ENVIRONMENT_SCRIPT(_cmd_smeshBuilder_gen env_script "${PYTHON_EXECUTABLE}" "${_cmd_smeshBuilder_gen_options}")
|
||||
SALOME_GENERATE_ENVIRONMENT_SCRIPT(_cmd_smeshBuilder_gen env_script "${PYTHON_EXECUTABLE}" "${_cmd_smeshBuilder_gen_options}" CONTEXT "SMESH_DOC")
|
||||
|
||||
ADD_CUSTOM_TARGET(pre_usr_docs
|
||||
# 1. Make temporary directories for python modules
|
||||
|
@ -20,8 +20,7 @@
|
||||
SALOME_CONFIGURE_FILE(conf.py.in conf.py)
|
||||
|
||||
SET(_cmd_options -c ${CMAKE_CURRENT_BINARY_DIR} -b html -d doctrees ${CMAKE_CURRENT_SOURCE_DIR} docutils)
|
||||
SALOME_GENERATE_ENVIRONMENT_SCRIPT(_cmd env_script "${SPHINX_EXECUTABLE}" "${_cmd_options}")
|
||||
|
||||
SET(_cmd "${SPHINX_EXECUTABLE}" "${_cmd_options}")
|
||||
ADD_CUSTOM_TARGET(html_docs_MGCleanerPlug COMMAND ${_cmd})
|
||||
|
||||
INSTALL(CODE "EXECUTE_PROCESS(COMMAND \"${CMAKE_COMMAND}\" --build ${PROJECT_BINARY_DIR} --target html_docs_MGCleanerPlug)")
|
||||
|
@ -20,8 +20,7 @@
|
||||
SALOME_CONFIGURE_FILE(conf.py.in conf.py)
|
||||
|
||||
SET(_cmd_options -c ${CMAKE_CURRENT_BINARY_DIR} -b html -d doctrees ${CMAKE_CURRENT_SOURCE_DIR} docutils)
|
||||
SALOME_GENERATE_ENVIRONMENT_SCRIPT(_cmd env_script "${SPHINX_EXECUTABLE}" "${_cmd_options}")
|
||||
|
||||
SET(_cmd "${SPHINX_EXECUTABLE}" "${_cmd_options}")
|
||||
ADD_CUSTOM_TARGET(html_docs_Verima COMMAND ${_cmd})
|
||||
|
||||
INSTALL(CODE "EXECUTE_PROCESS(COMMAND \"${CMAKE_COMMAND}\" --build ${PROJECT_BINARY_DIR} --target html_docs_Verima)")
|
||||
|
@ -20,8 +20,7 @@
|
||||
SALOME_CONFIGURE_FILE(conf.py.in conf.py)
|
||||
|
||||
SET(_cmd_options -c ${CMAKE_CURRENT_BINARY_DIR} -b html -d doctrees ${CMAKE_CURRENT_SOURCE_DIR} docutils)
|
||||
SALOME_GENERATE_ENVIRONMENT_SCRIPT(_cmd env_script "${SPHINX_EXECUTABLE}" "${_cmd_options}")
|
||||
|
||||
SET(_cmd "${SPHINX_EXECUTABLE}" "${_cmd_options}")
|
||||
ADD_CUSTOM_TARGET(html_docs_YamsPlug COMMAND ${_cmd})
|
||||
|
||||
INSTALL(CODE "EXECUTE_PROCESS(COMMAND \"${CMAKE_COMMAND}\" --build ${PROJECT_BINARY_DIR} --target html_docs_YamsPlug)")
|
||||
|
@ -20,8 +20,7 @@
|
||||
SALOME_CONFIGURE_FILE(conf.py.in conf.py)
|
||||
|
||||
SET(_cmd_options -c ${CMAKE_CURRENT_BINARY_DIR} -b html -d doctrees ${CMAKE_CURRENT_SOURCE_DIR} docutils)
|
||||
SALOME_GENERATE_ENVIRONMENT_SCRIPT(_cmd env_script "${SPHINX_EXECUTABLE}" "${_cmd_options}")
|
||||
|
||||
SET(_cmd "${SPHINX_EXECUTABLE}" "${_cmd_options}")
|
||||
ADD_CUSTOM_TARGET(html_docs_ZCracksPlug COMMAND ${_cmd})
|
||||
|
||||
INSTALL(CODE "EXECUTE_PROCESS(COMMAND \"${CMAKE_COMMAND}\" --build ${PROJECT_BINARY_DIR} --target html_docs_ZCracksPlug)")
|
||||
|
@ -20,7 +20,8 @@
|
||||
SALOME_CONFIGURE_FILE(conf.py.in conf.py)
|
||||
|
||||
SET(_cmd_options -c ${CMAKE_CURRENT_BINARY_DIR} -b html -d doctrees ${CMAKE_CURRENT_SOURCE_DIR} docutils)
|
||||
SALOME_GENERATE_ENVIRONMENT_SCRIPT(_cmd env_script "${SPHINX_EXECUTABLE}" "${_cmd_options}")
|
||||
|
||||
SET(_cmd "${SPHINX_EXECUTABLE}" "${_cmd_options}")
|
||||
|
||||
ADD_CUSTOM_TARGET(html_docs_blocFissure COMMAND ${_cmd})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user