# 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/<!-- Generated by javadoc [^>]* -->//' {} "\;"
COMMAND find ${SPHINX_GH_OUTPUT_DIR} -name '*orig' -delete