mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-21 03:13:42 +08:00
7c3164577e
This relies on the HDF5 capability to dynamically load compression filters. Note that a compression filter is just a subcase of filters. The primary user-visible changes are as follows: 1. Add a standard header "netcdf_filter.h" that defines the necessary API extensions 2. Modify ncgen to support two new special attributes "_Filter_ID" and "_Filter_Parameters" so that compression can be turned on when creating a file using ncgen. 4. Add a detailed description of filtering support to the user's guide; see the file filters.md 5. Add a test case directory for this: nc_test4/filter_test. It is fragile and a ./configure flags (-enable-filter-test) is defined (default disabled) to shut this off this test to avoid spurious 'make check' failures. Note that the HDF5 documentation is not up-to-date, so much of what is encoded here comes from examining the actual code in the file H5PL.c in the HDF5 source code.
27 lines
782 B
CMake
27 lines
782 B
CMake
#####
|
|
# Installation of various netCDF headers.
|
|
#####
|
|
|
|
INSTALL(FILES ${netCDF_SOURCE_DIR}/include/netcdf.h
|
|
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
|
|
COMPONENT headers)
|
|
|
|
INSTALL(FILES ${netCDF_SOURCE_DIR}/include/netcdf_mem.h
|
|
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
|
|
COMPONENT headers)
|
|
|
|
INSTALL(FILES ${netCDF_BINARY_DIR}/include/netcdf_meta.h
|
|
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
|
|
COMPONENT headers)
|
|
|
|
IF(ENABLE_PNETCDF OR ENABLE_PARALLEL4)
|
|
INSTALL(FILES ${netCDF_SOURCE_DIR}/include/netcdf_par.h
|
|
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
|
|
COMPONENT headers)
|
|
ENDIF()
|
|
|
|
|
|
FILE(GLOB CUR_EXTRA_DIST RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/*.h)
|
|
SET(CUR_EXTRA_DIST ${CUR_EXTRA_DIST} Makefile.am CMakeLists.txt)
|
|
ADD_EXTRA_DIST("${CUR_EXTRA_DIST}")
|