Files
hdf5/HDF5Examples/JAVA/compat/H5G/Java_sourcefiles.cmake
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

25 lines
840 B
CMake

#-----------------------------------------------------------------------------
# Define Sources, one file per application
#-----------------------------------------------------------------------------
set (HDF_JAVA_EXAMPLES
H5Ex_G_Create.java
H5Ex_G_Compact.java
H5Ex_G_Corder.java
H5Ex_G_Phase.java
)
if (${H5_LIBVER_DIR} GREATER 18 AND ${HDF5_PROVIDES_JNI})
if ((H5_LIBVER_DIR EQUAL 110) AND NOT (${EXAMPLE_VARNAME}_USE_16_API OR ${EXAMPLE_VARNAME}_USE_18_API OR ${EXAMPLE_VARNAME}_USE_110_API))
set (HDF_JAVA_EXAMPLES ${HDF_JAVA_EXAMPLES}
110/H5Ex_G_Iterate.java
110/H5Ex_G_Intermediate.java
110/H5Ex_G_Visit.java
)
else ()
set (HDF_JAVA_EXAMPLES ${HDF_JAVA_EXAMPLES}
H5Ex_G_Iterate.java
H5Ex_G_Intermediate.java
H5Ex_G_Visit.java
)
endif ()
endif ()