Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: resolve missing CopyJavaDoc target #11475

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions documentation/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,11 @@ endfunction()
message(STATUS "Add html target")
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
"-1"
CACHE
Expand Down Expand Up @@ -116,3 +121,4 @@ add_custom_command(
add_custom_target(package_html DEPENDS ${tar_file})
add_dependencies(package_html html)
add_dependencies(packages package_html)