Files
Allen Byrne b754dcb8f2 Move Java wrappers to FFM using jextract and java 25 (#5957)
FFM build requires Java 25, Jextract 25.
Generates FFM bindings during configure.
JNI is default when the requirements are not met or can be forced.
Presets added for maven and FFM - JNI is default selection.
Enhanced Maven options will work with either JNI or FFM
New Workflows for testing and maven uploads.
Extensive documentation changes for java.
2025-11-04 14:03:06 -06:00

20 lines
593 B
CMake

cmake_minimum_required (VERSION 3.26)
project (HDFJAVA_EXAMPLES Java)
set_directory_properties(PROPERTIES INCLUDE_DIRECTORIES
"${HDFJAVA_LIB_DIR};${JAVA_INCLUDE_PATH};${JAVA_INCLUDE_PATH2}"
)
if (NOT HDF5_PROVIDES_JNI AND ${H5_LIBVER_DIR} GREATER 114)
message (STATUS "HDF5 Java examples FFM support when using libver >= v1.14")
add_subdirectory (H5D)
add_subdirectory (H5T)
add_subdirectory (H5G)
add_subdirectory (TUTR)
endif ()
if (HDF5_PROVIDES_JAVA_COMPAT OR HDF5_PROVIDES_JNI)
message (STATUS "HDF5 Java examples compat support")
add_subdirectory (compat)
endif ()