mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-27 07:30:33 +08:00
25dc1faa60
* main: (110 commits) Escape a character causing a doxygen error. Updated release notes. Added a comment block for future reference. more syntax fixes Update CMakeLists.txt CMake: Find HDF5 header we can safely include for other checks moving functions and macros to new file, lowercase things Update release notes. lowercase lower case lowercase moving functions and macros to a file moving the dependencies inclusion CMake: Add support for UNITY_BUILD removing debug messages actually adding the dependencies file... putting dependencies into separate file Define USE_SZIP variable for nc-config.cmake.in matching cmake variables in autotools configuration moving the version into the project command in cmake ...
51 lines
1.2 KiB
CMake
51 lines
1.2 KiB
CMake
# NetCDF Configuration Summary
|
|
#
|
|
# General
|
|
#
|
|
@PACKAGE_INIT@
|
|
|
|
set(NetCDFVersion "@PACKAGE_VERSION@")
|
|
|
|
set(netCDF_LIBRARIES netCDF::netcdf)
|
|
|
|
# include target information
|
|
include("${CMAKE_CURRENT_LIST_DIR}/netCDFTargets.cmake")
|
|
|
|
@IMPORT_MPI@
|
|
|
|
# Compiling Options
|
|
#
|
|
set(netCDF_C_COMPILER "@CC_VERSION@")
|
|
set(netCDF_C_COMPILER_FLAGS "@CFLAGS@")
|
|
set(netCDF_C_CPP_FLAGS "@CPPFLAGS@")
|
|
set(netCDF_LDFLAGS "@LDFLAGS@")
|
|
set(netCDF_AM_CFLAGS "@AM_CFLAGS@")
|
|
set(netCDF_AM_CPPFLAGS "@AM_CPPFLAGS@")
|
|
set(netCDF_AM_LDFLAGS "@AM_LDFLAGS@")
|
|
set(netCDF_SHARED @enable_shared@)
|
|
set(netCDF_STATIC @enable_static@)
|
|
|
|
# Features:
|
|
#
|
|
set(netCDF_HAS_NC2 @HAS_NC2@)
|
|
set(netCDF_HAS_NC4 @HAS_NC4@)
|
|
set(netCDF_HAS_HDF4 @HAS_HDF4@)
|
|
set(netCDF_HAS_HDF5 @HAS_HDF5@)
|
|
set(netCDF_HAS_PNETCDF @HAS_PNETCDF@)
|
|
set(netCDF_HAS_PARALLEL @HAS_PARALLEL@)
|
|
set(netCDF_HAS_DAP @HAS_DAP2@)
|
|
set(netCDF_HAS_DAP2 @HAS_DAP2@)
|
|
set(netCDF_HAS_DAP4 @HAS_DAP4@)
|
|
set(netCDF_HAS_DISKLESS @HAS_DISKLESS@)
|
|
set(netCDF_HAS_MMAP @HAS_MMAP@)
|
|
set(netCDF_HAS_JNA @HAS_JNA@)
|
|
if (netCDF_HAS_HDF4 OR netCDF_HAS_HDF5)
|
|
include(CMakeFindDependencyMacro)
|
|
find_dependency(HDF5)
|
|
endif ()
|
|
|
|
if (@HAS_PARALLEL@)
|
|
include(CMakeFindDependencyMacro)
|
|
find_dependency(MPI @MPI_C_VERSION@ EXACT)
|
|
endif()
|