hdf5/HDF5Examples/C/H5D/C_sourcefiles.cmake
Allen Byrne aa734a5d7e
Add VDS examples and fix non-standalone build (#3898)
* Choose a size for rdata dimension

* Fix platform naming conflicts

* Fix doxygen references to point within library repo
2023-12-21 09:53:24 -06:00

44 lines
911 B
CMake

#-----------------------------------------------------------------------------
# Define Sources, one file per application
#-----------------------------------------------------------------------------
set (examples)
set (common_examples
h5ex_d_alloc
h5ex_d_checksum
h5ex_d_chunk
h5ex_d_compact
h5ex_d_extern
h5ex_d_fillval
h5ex_d_hyper
h5ex_d_rdwr
h5ex_d_unlimadd
h5ex_d_unlimmod
)
if (HDF5_ENABLE_Z_LIB_SUPPORT)
set (common_examples ${common_examples}
h5ex_d_gzip
h5ex_d_shuffle
h5ex_d_unlimgzip
)
endif ()
if (HDF5_ENABLE_SZIP_SUPPORT)
set (common_examples ${common_examples}
h5ex_d_szip
)
endif ()
if (HDF5_VERSION_MAJOR VERSION_GREATER_EQUAL "1.8" AND NOT ${EXAMPLE_VARNAME}_USE_16_API)
set (1_8_examples
h5ex_d_nbit
h5ex_d_sofloat
h5ex_d_soint
h5ex_d_transform
)
else ()
set (1_8_examples)
endif ()