2018-05-09 02:20:55 +08:00
|
|
|
## This is a CMake file, part of Unidata's netCDF package.
|
|
|
|
# Copyright 2018, see the COPYRIGHT file for more information.
|
|
|
|
#
|
|
|
|
# This builds the HDF5 dispatch layer.
|
|
|
|
#
|
|
|
|
# Ed Hartnett
|
|
|
|
|
|
|
|
# The source files for the HDF5 dispatch layer.
|
2018-05-15 20:47:52 +08:00
|
|
|
SET(libnchdf5_SOURCES nc4hdf.c nc4info.c hdf5file.c hdf5attr.c
|
2018-07-19 21:23:03 +08:00
|
|
|
hdf5dim.c hdf5grp.c hdf5type.c hdf5internal.c hdf5create.c hdf5open.c
|
2018-07-19 21:26:27 +08:00
|
|
|
hdf5var.c nc4mem.c nc4memcb.c)
|
2018-05-09 02:20:55 +08:00
|
|
|
|
|
|
|
# Build the HDF4 dispatch layer as a library that will be included in
|
|
|
|
# the netCDF library.
|
|
|
|
add_library(netcdfhdf5 OBJECT ${libnchdf5_SOURCES})
|
|
|
|
|
|
|
|
# Remember to package this file for CMake builds.
|
|
|
|
ADD_EXTRA_DIST(${libnchdf5_SOURCES} CMakeLists.txt)
|