Fixes #7579.
check_python_module(breathe)
check_python_module(sphinxcontrib.bibtex sphinxcontrib-bibtex)
check_python_module(sphinx_tabs.tabs sphinx-tabs)
+check_python_module(sphinxcontrib.programoutput sphinxcontrib.programoutput)
add_subdirectory(api)
# used to trigger the rebuild
set(JAVADOC_INDEX_FILE ${JAVADOC_OUTPUT_DIR}/index.html)
- get_target_property(SOURCES cvc5jar SOURCES)
-
add_custom_command(
OUTPUT "${JAVADOC_INDEX_FILE}"
- COMMAND
+ COMMAND
${Java_JAVADOC_EXECUTABLE} io.github.cvc5.api
-sourcepath ${CMAKE_SOURCE_DIR}/src/api/java/
-d ${JAVADOC_OUTPUT_DIR}
-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
- DEPENDS cvc5jar ${SOURCES}
+ DEPENDS cvc5jar
COMMENT "Generating javadocs"
)
ROUND_NEAREST_TIES_TO_EVEN,
/**
* Round towards positive infinity (+oo).
- * The result shall be the format’s floating-point number (possibly +oo)
+ * The result shall be the format's floating-point number (possibly +oo)
* closest to and no less than the infinitely precise result.
*/
ROUND_TOWARD_POSITIVE,
/**
* Round towards negative infinity (-oo).
- * The result shall be the format’s floating-point number (possibly -oo)
+ * The result shall be the format's floating-point number (possibly -oo)
* closest to and no less than the infinitely precise result.
*/
ROUND_TOWARD_NEGATIVE,
/**
* Round towards zero.
- * The result shall be the format’s floating-point number closest to and no
+ * The result shall be the format's floating-point number closest to and no
* greater in magnitude than the infinitely precise result.
*/
ROUND_TOWARD_ZERO,
VERSION ${CVC5_VERSION}
OUTPUT_NAME cvc5
)
-set_target_properties(cvc5jar PROPERTIES SOURCES "${JAVA_FILES}")
add_dependencies(cvc5jar generate-java-kinds cvc5jni cvc5)
ROUND_NEAREST_TIES_TO_EVEN(0),
/**
* Round towards positive infinity (+oo).
- * The result shall be the format’s floating-point number (possibly +oo)
+ * The result shall be the format's floating-point number (possibly +oo)
* closest to and no less than the infinitely precise result.
*/
ROUND_TOWARD_POSITIVE(1),
/**
* Round towards negative infinity (-oo).
- * The result shall be the format’s floating-point number (possibly -oo)
+ * The result shall be the format's floating-point number (possibly -oo)
* closest to and no less than the infinitely precise result.
*/
ROUND_TOWARD_NEGATIVE(2),
/**
* Round towards zero.
- * The result shall be the format’s floating-point number closest to and no
+ * The result shall be the format's floating-point number closest to and no
* greater in magnitude than the infinitely precise result.
*/
ROUND_TOWARD_ZERO(3),