Commit Graph

13 Commits

Author SHA1 Message Date
Peter Hill
25dc1faa60
Merge branch 'main' into export-targets-for-build-dir
* 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
  ...
2024-01-24 11:26:44 +00:00
Ward Fisher
489d978f63
Merge pull request #2595 from johnwparent/import-mpi-dep-on-export
CMake: Add improvements to MPI support
2023-12-12 13:57:20 -07:00
Ward Fisher
f3c0fb5ea0
Merge branch 'main' into find-hdf5-if-needed 2023-10-24 14:50:00 -06:00
Peter Hill
5ee66e87ac
CMake: Export targets so the build directory can be used directly 2023-10-20 17:47:18 +01:00
Peter Hill
d4412df2da
CMake: Ensure MPI dependency is found in installed config 2023-10-02 10:51:02 +01:00
Ben Boeckel
e6d9cda0e9 netCDFConfig: find HDF5 if needed
See: #1733
2023-09-26 09:58:03 -04:00
John Parent
fe3cc6fc44 Find MPI during CMake package import
When MPI::MPI_C is included in link interface of exported netcdf::netcdf
target the config module is responsible for locating that target and
providing it to the consuming project via find_dependency
2023-01-24 15:07:39 -05:00
Ward Fisher
ec30c199a1 Correct typo. 2020-01-24 16:53:16 -07:00
Ward Fisher
f71434fa16 Added namespace prefix to netCDF_LIBRARIES in CMake in support of https://github.com/Unidata/netcdf-c/issues/1607 2020-01-24 16:36:06 -07:00
Dennis Heimbigner
3db4f013bf Primary change: add dap4 support
Specific changes:
1. Add dap4 code: libdap4 and dap4_test.
   Note that until the d4ts server problem is solved, dap4 is turned off.
2. Modify various files to support dap4 flags:
	configure.ac, Makefile.am, CMakeLists.txt, etc.
3. Add nc_test/test_common.sh. This centralizes
   the handling of the locations of various
   things in the build tree: e.g. where is
   ncgen.exe located. See nc_test/test_common.sh
   for details.
4. Modify .sh files to use test_common.sh
5. Obsolete separate oc2 by moving it to be part of
   netcdf-c. This means replacing code with netcdf-c
   equivalents.
5. Add --with-testserver to configure.ac to allow
   override of the servers to be used for --enable-dap-remote-tests.
6. There were multiple versions of nctypealignment code. Try to
   centralize in libdispatch/doffset.c and include/ncoffsets.h
7. Add a unit test for the ncuri code because of its complexity.
8. Move the findserver code out of libdispatch and into
   a separate, self contained program in ncdap_test and dap4_test.
9. Move the dispatch header files (nc{3,4}dispatch.h) to
   .../include because they are now shared by modules.
10. Revamp the handling of TOPSRCDIR and TOPBUILDDIR for shell scripts.
11. Make use of MREMAP if available
12. Misc. minor changes e.g.
	- #include <config.h> -> #include "config.h"
	- Add some no-install headers to /include
	- extern -> EXTERNL and vice versa as needed
	- misc header cleanup
	- clean up checking for misc. unix vs microsoft functions
13. Change copyright decls in some files to point to LICENSE file.
14. Add notes to RELEASENOTES.md
2017-03-08 17:01:10 -07:00
Nico Schlömer
111bc7fd75 actually include target info in export config 2014-08-21 19:08:55 +02:00
Nico Schlömer
d2ee2dff31 remove old export functionality, move new in place 2014-08-21 10:11:30 +02:00
Ward Fisher
3cb78c5036 Manually merging pull request https://github.com/Unidata/netcdf-c/pull/74 contributed by Nico Schlömer 2014-08-20 12:30:11 -06:00