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).
36 lines
711 B
CMake
36 lines
711 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_unlimmod
|
|
h5ex_d_nbit
|
|
# h5ex_d_sofloat
|
|
h5ex_d_soint
|
|
h5ex_d_transform
|
|
)
|
|
|
|
if (HDF5_PROVIDES_ZLIB_SUPPORT)
|
|
set (common_examples ${common_examples}
|
|
h5ex_d_gzip
|
|
)
|
|
endif ()
|
|
|
|
if (HDF5_PROVIDES_SZIP_SUPPORT)
|
|
set (common_examples ${common_examples}
|
|
h5ex_d_szip
|
|
)
|
|
endif ()
|
|
|
|
set (1_10_examples
|
|
)
|