mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 12:08:18 +00:00
[CMake] Add version to `com.microsoft.z3.jar
`. On Linux systems
the ``.jar`` file is created as ``com.microsoft.z3-4.4.2.0.jar`` and a symlink named ``com.microsoft.z3.jar`` is created which points to it in the build and install directory.
This commit is contained in:
parent
8f69728703
commit
a1e8311844
|
@ -200,12 +200,12 @@ add_custom_target(build_z3_java_bindings
|
||||||
)
|
)
|
||||||
|
|
||||||
# Rule to build ``com.microsoft.z3.jar``
|
# Rule to build ``com.microsoft.z3.jar``
|
||||||
# TODO: Add version
|
|
||||||
# TODO: Should we set ``CMAKE_JNI_TARGET`` to ``TRUE``?
|
# TODO: Should we set ``CMAKE_JNI_TARGET`` to ``TRUE``?
|
||||||
add_jar(z3JavaJar
|
add_jar(z3JavaJar
|
||||||
SOURCES ${Z3_JAVA_JAR_SOURCE_FILES_FULL_PATH}
|
SOURCES ${Z3_JAVA_JAR_SOURCE_FILES_FULL_PATH}
|
||||||
OUTPUT_NAME ${Z3_JAVA_PACKAGE_NAME}
|
OUTPUT_NAME ${Z3_JAVA_PACKAGE_NAME}
|
||||||
OUTPUT_DIR "${CMAKE_BINARY_DIR}"
|
OUTPUT_DIR "${CMAKE_BINARY_DIR}"
|
||||||
|
VERSION "${Z3_VERSION}"
|
||||||
)
|
)
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
Loading…
Reference in a new issue