summaryrefslogtreecommitdiffstats
path: root/HDF5Examples/FORTRAN/H5G/Fortran_sourcefiles.cmake
blob: e2e8e9d42b85fd243a5db0628c0421e8ff933b2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#-----------------------------------------------------------------------------
# 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 (HDF_ENABLE_F2003)
    set (common_examples
      ${common_examples}
      h5ex_g_intermediate
      h5ex_g_iterate
      h5ex_g_traverse
      h5ex_g_visit
    )
  endif ()
endif ()