Skip to content

Commit

Permalink
updated files
Browse files Browse the repository at this point in the history
  • Loading branch information
brtnfld committed Dec 19, 2023
1 parent 85e2c06 commit 4cade21
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 13 deletions.
20 changes: 14 additions & 6 deletions HDF5Examples/FORTRAN/H5G/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -349,11 +349,19 @@ if (H5EX_BUILD_TESTING)
ADD_DUMP_TEST (h5ex_g_create)
ADD_H5_CMP_TEST (h5ex_g_corder)
ADD_H5_CMP_TEST (h5ex_g_phase)
# if (HDF_ENABLE_F2003)
# ADD_H5_CMP_TEST (h5ex_g_intermediate)
# ADD_H5_CMP_TEST (h5ex_g_iterate)
# ADD_H5_CMP_TEST (h5ex_g_traverse)
ADD_H5_CMP_TEST (h5ex_g_visit)
# endif ()

if (HDF5_VERSION_STRING VERSION_GREATER_EQUAL "1.10.0")
ADD_H5_CMP_TEST (h5ex_g_intermediate)
ADD_H5_CMP_TEST (h5ex_g_iterate)
ADD_H5_CMP_TEST (h5ex_g_traverse)
ADD_H5_CMP_TEST (h5ex_g_visit)
else ()
if (HDF_ENABLE_F2003)
ADD_H5_CMP_TEST (h5ex_g_intermediate)
ADD_H5_CMP_TEST (h5ex_g_iterate)
ADD_H5_CMP_TEST (h5ex_g_traverse)
ADD_H5_CMP_TEST (h5ex_g_visit)
endif ()
endif ()

endif ()
26 changes: 19 additions & 7 deletions HDF5Examples/FORTRAN/H5G/Fortran_sourcefiles.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,23 @@ set (common_examples
h5ex_g_corder
h5ex_g_phase
h5ex_g_create
h5ex_g_visit_F03
)

#set (f03_examples
# h5ex_g_iterate_F03
# h5ex_g_traverse_F03
# h5ex_g_visit_F03
#)
if (HDF5_VERSION_STRING VERSION_GREATER_EQUAL "1.10.0")
set (common_examples
${common_examples}
h5ex_g_intermediate
h5ex_g_iterate
h5ex_g_traverse
h5ex_g_visit
)
else ()
if (HDF_ENABLE_F2003)
set (common_examples
${common_examples}
h5ex_g_intermediate
h5ex_g_iterate
h5ex_g_traverse
h5ex_g_visit
)
endif ()
endif ()

0 comments on commit 4cade21

Please sign in to comment.