summaryrefslogtreecommitdiffstats
path: root/hl/fortran/CMakeLists.txt
blob: 4c38f4a68b76c758b44f15a0a8ca9ace5a3aeb22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
cmake_minimum_required (VERSION 3.10)
project (HDF5_HL_F90 C Fortran)

#-----------------------------------------------------------------------------
# List Source files
#-----------------------------------------------------------------------------
add_subdirectory (src)

#-----------------------------------------------------------------------------
# Build the HL Fortran Examples
#-----------------------------------------------------------------------------
if (HDF5_BUILD_EXAMPLES)
  add_subdirectory (examples)
endif ()

#-----------------------------------------------------------------------------
# Testing
#-----------------------------------------------------------------------------
if (BUILD_TESTING AND HDF5_TEST_SERIAL)
    add_subdirectory (test)
  endif ()
endif ()