From 5e2ee546fed4ca999f933e2e50938110d221f044 Mon Sep 17 00:00:00 2001 From: Mathias Preiner Date: Tue, 9 Nov 2021 19:42:31 -0800 Subject: [PATCH] docs: Also create javadoc for generated Kind.java (#7624) --- docs/api/java/CMakeLists.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/api/java/CMakeLists.txt b/docs/api/java/CMakeLists.txt index 54a8dc54c..6df794435 100644 --- a/docs/api/java/CMakeLists.txt +++ b/docs/api/java/CMakeLists.txt @@ -23,13 +23,15 @@ if(BUILD_BINDINGS_JAVA) # used to trigger the rebuild set(JAVADOC_INDEX_FILE ${JAVADOC_OUTPUT_DIR}/index.html) + get_target_property(CVC5_JAR_FILE cvc5jar JAR_FILE) add_custom_command( OUTPUT "${JAVADOC_INDEX_FILE}" COMMAND ${Java_JAVADOC_EXECUTABLE} io.github.cvc5.api - -sourcepath ${CMAKE_SOURCE_DIR}/src/api/java/ + -sourcepath ${CMAKE_SOURCE_DIR}/src/api/java/:${CMAKE_BINARY_DIR}/src/api/java/ + -Xdoclint:none -d ${JAVADOC_OUTPUT_DIR} - -cp ${CMAKE_BINARY_DIR}/src/api/java/cvc5.jar + -cp ${CVC5_JAR_FILE} -notimestamp COMMAND find ${JAVADOC_OUTPUT_DIR} -type f -exec sed -i'orig' 's///' {} "\;" COMMAND find ${SPHINX_GH_OUTPUT_DIR} -name '*orig' -delete -- 2.30.2