summaryrefslogtreecommitdiffstats
path: root/HDF5Examples/C/H5G/C_sourcefiles.cmake
blob: e8e3692b608557ecc93f2dd4138e6a4c19af9ed0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#-----------------------------------------------------------------------------
# Define Sources, one file per application
#-----------------------------------------------------------------------------
set (examples)

set (common_examples
    h5ex_g_create
    h5ex_g_iterate
    h5ex_g_traverse
  )

if (HDF5_VERSION_MAJOR VERSION_GREATER_EQUAL "1.8" AND NOT ${EXAMPLE_VARNAME}_USE_16_API)
  set (1_8_examples
      h5ex_g_compact
      h5ex_g_corder
      h5ex_g_phase
      h5ex_g_intermediate
      h5ex_g_visit
  )
else ()
  set (1_8_examples)
endif ()