You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

CMakeLists.txt 898B

1234567891011121314151617181920212223
  1. # Sphinx Documentation
  2. install(DIRECTORY DESTINATION "${DIST_DOCTMP}/sphinx")
  3. # Collect all sphinx documentation files from all projects
  4. set(INCLUDED_OV_SDK_COMPONENTS DEPENDENCIES DEVELOPER_TOOLS)
  5. include("AddOpenViBESDKComponents")
  6. add_custom_target(copy_sdk_documentation ALL COMMAND ${CMAKE_COMMAND} -E copy "${OPENVIBE_SDK_PATH}/doc-tmp/" "${CMAKE_CURRENT_BINARY_DIR}/doc-tmp")
  7. file(GLOB SPHINX_DOC_DIRS LIST_DIRECTORIES true LIST_FILES false
  8. "${PROJECT_SOURCE_DIR}/plugins/visualization/*"
  9. "${PROJECT_SOURCE_DIR}/plugins/*"
  10. )
  11. foreach(DOCDIR ${SPHINX_DOC_DIRS})
  12. if(IS_DIRECTORY "${DOCDIR}/doc/boxes")
  13. file(COPY "${DOCDIR}/doc/boxes" DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/doc-tmp/sphinx/source)
  14. endif()
  15. endforeach()
  16. file(COPY sphinx/source DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/doc-tmp/sphinx)
  17. install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/doc-tmp/ DESTINATION ${DIST_DOCTMP})