This commit is contained in:
Kris Hansen 2024-11-10 04:19:26 +08:00 committed by GitHub
commit c6cd690095
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 0 deletions

View File

@ -67,6 +67,11 @@ endfunction()
message(STATUS "Add html target") message(STATUS "Add html target")
add_documentation_target(GENERATOR html) add_documentation_target(GENERATOR html)
add_custom_target(CopyJavadoc
COMMAND ${CMAKE_COMMAND} -E copy_directory ${SPHINX_DOCUMENT_DIR}/javadoc ${CMAKE_BINARY_DIR}/docs/javadoc
COMMENT "Copying Javadoc to build directory"
)
set(DOCSERVER_PORT set(DOCSERVER_PORT
"-1" "-1"
CACHE CACHE
@ -116,3 +121,4 @@ add_custom_command(
add_custom_target(package_html DEPENDS ${tar_file}) add_custom_target(package_html DEPENDS ${tar_file})
add_dependencies(package_html html) add_dependencies(package_html html)
add_dependencies(packages package_html) add_dependencies(packages package_html)