2018-12-07 05:13:56 +08:00
|
|
|
# Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
|
|
|
|
# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014,
|
|
|
|
# 2015, 2016, 2017, 2018
|
|
|
|
# University Corporation for Atmospheric Research/Unidata.
|
|
|
|
|
|
|
|
# See netcdf-c/COPYRIGHT file for more info.
|
2016-02-24 02:12:16 +08:00
|
|
|
#####
|
|
|
|
# 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)
|
|
|
|
|
2018-10-31 10:48:12 +08:00
|
|
|
INSTALL(FILES ${netCDF_SOURCE_DIR}/include/netcdf_aux.h
|
|
|
|
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
|
|
|
|
COMPONENT headers)
|
|
|
|
|
2016-02-24 02:12:16 +08:00
|
|
|
INSTALL(FILES ${netCDF_BINARY_DIR}/include/netcdf_meta.h
|
|
|
|
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
|
|
|
|
COMPONENT headers)
|
|
|
|
|
2019-10-29 00:52:05 +08:00
|
|
|
INSTALL(FILES ${netCDF_SOURCE_DIR}/include/netcdf_filter.h
|
|
|
|
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
|
|
|
|
COMPONENT headers)
|
2021-07-18 06:55:30 +08:00
|
|
|
INSTALL(FILES ${netCDF_SOURCE_DIR}/include/netcdf_filter_build.h
|
|
|
|
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
|
|
|
|
COMPONENT headers)
|
2019-10-29 00:52:05 +08:00
|
|
|
|
2021-02-04 02:13:43 +08:00
|
|
|
INSTALL(FILES ${netCDF_BINARY_DIR}/include/netcdf_dispatch.h
|
2019-10-29 00:52:05 +08:00
|
|
|
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
|
|
|
|
COMPONENT headers)
|
|
|
|
|
2016-07-15 19:47:40 +08:00
|
|
|
IF(ENABLE_PNETCDF OR ENABLE_PARALLEL4)
|
2016-02-24 02:12:16 +08:00
|
|
|
INSTALL(FILES ${netCDF_SOURCE_DIR}/include/netcdf_par.h
|
|
|
|
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
|
|
|
|
COMPONENT headers)
|
|
|
|
ENDIF()
|
|
|
|
|
2021-10-30 10:06:37 +08:00
|
|
|
#INSTALL(FILES ${netCDF_BINARY_DIR}/include/netcdf_json.h
|
|
|
|
# DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
|
|
|
|
# COMPONENT headers)
|
|
|
|
|
2013-06-04 00:42:04 +08:00
|
|
|
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)
|
2014-04-22 06:11:48 +08:00
|
|
|
ADD_EXTRA_DIST("${CUR_EXTRA_DIST}")
|