Files
hdf5/HDF5Examples/FORTRAN/H5G/Fortran_sourcefiles.cmake
Allen Byrne 701b46daed Rename the HDF5Examples build option prefix (#5906)
Renamed all HDF5 examples build options from H5EX_* to H5EXAMPLE_* to better distinguish them from library options when building examples alongside the library.

Updated all CMake files, including:
Main examples CMakeLists.txt files
CMake configuration files in config/ directory
CMake preset files
Updated documentation files to reflect new option names
2025-10-08 15:53:44 -05:00

36 lines
826 B
CMake

#-----------------------------------------------------------------------------
# Define Sources, one file per application
#-----------------------------------------------------------------------------
set (examples)
set (common_examples
h5ex_g_compact
h5ex_g_corder
h5ex_g_phase
h5ex_g_create
)
if (HDF5_VERSION_STRING VERSION_GREATER_EQUAL "1.10.0")
set (common_examples
${common_examples}
h5ex_g_intermediate
h5ex_g_iterate
h5ex_g_visit
)
if (HDF5_VERSION_STRING VERSION_GREATER_EQUAL "1.14.3")
set (common_examples
${common_examples}
h5ex_g_traverse
)
endif()
else ()
if (H5EXAMPLE_ENABLE_F2003)
set (common_examples
${common_examples}
h5ex_g_intermediate
h5ex_g_iterate
h5ex_g_traverse
h5ex_g_visit
)
endif ()
endif ()