From: Mathias Preiner Date: Wed, 10 Nov 2021 03:42:31 +0000 (-0800) Subject: docs: Also create javadoc for generated Kind.java (#7624) X-Git-Tag: cvc5-1.0.0~836 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5e2ee546fed4ca999f933e2e50938110d221f044;p=cvc5.git docs: Also create javadoc for generated Kind.java (#7624) --- 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