summaryrefslogtreecommitdiffstats
path: root/HDF5Examples/JAVA/H5G/Java_sourcefiles.cmake
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2023-11-27 21:30:15 (GMT)
committerGitHub <noreply@github.com>2023-11-27 21:30:15 (GMT)
commitfc88fcde1091cf12c1e88c783a14ee0f1cffe31c (patch)
tree91b88b62cd30ed37ee9227e43989e95035be43c3 /HDF5Examples/JAVA/H5G/Java_sourcefiles.cmake
parenta067bf71f57723d2dfca7dfe2ffd9ea502eccd4f (diff)
downloadhdf5-fc88fcde1091cf12c1e88c783a14ee0f1cffe31c.zip
hdf5-fc88fcde1091cf12c1e88c783a14ee0f1cffe31c.tar.gz
hdf5-fc88fcde1091cf12c1e88c783a14ee0f1cffe31c.tar.bz2
Develop merge examples (#3851)
* Merge examples repo into library * Change grepTest to be more fault-tolerant * Update examples macro file * Exclude all Fortran examples from doxygen
Diffstat (limited to 'HDF5Examples/JAVA/H5G/Java_sourcefiles.cmake')
-rw-r--r--HDF5Examples/JAVA/H5G/Java_sourcefiles.cmake24
1 files changed, 24 insertions, 0 deletions
diff --git a/HDF5Examples/JAVA/H5G/Java_sourcefiles.cmake b/HDF5Examples/JAVA/H5G/Java_sourcefiles.cmake
new file mode 100644
index 0000000..d5142bd
--- /dev/null
+++ b/HDF5Examples/JAVA/H5G/Java_sourcefiles.cmake
@@ -0,0 +1,24 @@
+#-----------------------------------------------------------------------------
+# 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)
+ 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 ()