summaryrefslogtreecommitdiffstats
path: root/HDF5Examples/JAVA/H5D/Java_sourcefiles.cmake
blob: 2977d8597ef99c20b557b99776a318d958fb693f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#-----------------------------------------------------------------------------
# Define Sources, one file per application
#-----------------------------------------------------------------------------
set (HDF_JAVA_EXAMPLES
    H5Ex_D_Alloc.java
    H5Ex_D_Checksum.java
    H5Ex_D_Chunk.java
    H5Ex_D_Compact.java
    H5Ex_D_External.java
    H5Ex_D_FillValue.java
    H5Ex_D_Hyperslab.java
    H5Ex_D_ReadWrite.java
    H5Ex_D_UnlimitedAdd.java
    H5Ex_D_UnlimitedMod.java
    H5Ex_D_Nbit.java
    H5Ex_D_Transform.java
    H5Ex_D_Sofloat.java
    H5Ex_D_Soint.java
)

set (HDF_JAVA_ZLIB_EXAMPLES
    H5Ex_D_Gzip.java
    H5Ex_D_Shuffle.java
    H5Ex_D_UnlimitedGzip.java
)

set (HDF_JAVA_SZIP_EXAMPLES
    H5Ex_D_Szip.java
)

# detect whether the encoder is present.
  if (${HDF5_ENABLE_Z_LIB_SUPPORT})
    set (HDF_JAVA_EXAMPLES ${HDF_JAVA_EXAMPLES} ${HDF_JAVA_ZLIB_EXAMPLES})
  endif ()

  if (${HDF5_ENABLE_SZIP_SUPPORT})
    set (HDF_JAVA_EXAMPLES ${HDF_JAVA_EXAMPLES} ${HDF_JAVA_SZIP_EXAMPLES})
  endif ()