mirror of
https://github.com/HDFGroup/hdf5.git
synced 2026-09-25 04:09:44 +03:00
This update systematically renames variables across 2.0+ CMake files in the HDF5Examples directory and configuration templates. The goal is to change variables from sounding like build "options" (e.g., HDF5_BUILD_TOOLS, HDF5_ENABLE_PARALLEL) to reflecting library "state" (e.g., what features the installed library provides).
39 lines
1020 B
CMake
39 lines
1020 B
CMake
#-----------------------------------------------------------------------------
|
|
# 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_PROVIDES_ZLIB_SUPPORT})
|
|
set (HDF_JAVA_EXAMPLES ${HDF_JAVA_EXAMPLES} ${HDF_JAVA_ZLIB_EXAMPLES})
|
|
endif ()
|
|
|
|
if (${HDF5_PROVIDES_SZIP_SUPPORT})
|
|
set (HDF_JAVA_EXAMPLES ${HDF_JAVA_EXAMPLES} ${HDF_JAVA_SZIP_EXAMPLES})
|
|
endif ()
|