Build documentation under Windows: revert previous wrong commit, apply new approach.

This commit is contained in:
rnv 2019-08-16 20:04:50 +03:00
parent 4786233c98
commit 226f238460
5 changed files with 5 additions and 5 deletions

View File

@ -20,7 +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)
SET(_cmd "${SPHINX_EXECUTABLE}" "${_cmd_options}")
SALOME_GENERATE_ENVIRONMENT_SCRIPT(_cmd env_script "${SPHINX_EXECUTABLE}" "${_cmd_options}" CONTEXT MGCleanerPlug_DOC)
ADD_CUSTOM_TARGET(html_docs_MGCleanerPlug COMMAND ${_cmd})
INSTALL(CODE "EXECUTE_PROCESS(COMMAND \"${CMAKE_COMMAND}\" --build ${PROJECT_BINARY_DIR} --target html_docs_MGCleanerPlug)")

View File

@ -20,7 +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)
SET(_cmd "${SPHINX_EXECUTABLE}" "${_cmd_options}")
SALOME_GENERATE_ENVIRONMENT_SCRIPT(_cmd env_script "${SPHINX_EXECUTABLE}" "${_cmd_options}" CONTEXT Verima_DOC)
ADD_CUSTOM_TARGET(html_docs_Verima COMMAND ${_cmd})
INSTALL(CODE "EXECUTE_PROCESS(COMMAND \"${CMAKE_COMMAND}\" --build ${PROJECT_BINARY_DIR} --target html_docs_Verima)")

View File

@ -20,7 +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)
SET(_cmd "${SPHINX_EXECUTABLE}" "${_cmd_options}")
SALOME_GENERATE_ENVIRONMENT_SCRIPT(_cmd env_script "${SPHINX_EXECUTABLE}" "${_cmd_options}" CONTEXT YamsPlug_DOC)
ADD_CUSTOM_TARGET(html_docs_YamsPlug COMMAND ${_cmd})
INSTALL(CODE "EXECUTE_PROCESS(COMMAND \"${CMAKE_COMMAND}\" --build ${PROJECT_BINARY_DIR} --target html_docs_YamsPlug)")

View File

@ -20,7 +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)
SET(_cmd "${SPHINX_EXECUTABLE}" "${_cmd_options}")
SALOME_GENERATE_ENVIRONMENT_SCRIPT(_cmd env_script "${SPHINX_EXECUTABLE}" "${_cmd_options}" CONTEXT ZCracksPlug_DOC)
ADD_CUSTOM_TARGET(html_docs_ZCracksPlug COMMAND ${_cmd})
INSTALL(CODE "EXECUTE_PROCESS(COMMAND \"${CMAKE_COMMAND}\" --build ${PROJECT_BINARY_DIR} --target html_docs_ZCracksPlug)")

View File

@ -21,7 +21,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)
SET(_cmd "${SPHINX_EXECUTABLE}" "${_cmd_options}")
SALOME_GENERATE_ENVIRONMENT_SCRIPT(_cmd env_script "${SPHINX_EXECUTABLE}" "${_cmd_options}" CONTEXT blocFissure_DOC)
ADD_CUSTOM_TARGET(html_docs_blocFissure COMMAND ${_cmd})