Commit Graph

9824 Commits

Author SHA1 Message Date
Ward Fisher
bca37ebe0e Make a change in support of https://github.com/Unidata/netcdf-c/pull/2879 2024-03-07 17:02:26 -07:00
Kyle Shores
76f5a08f23 removing need for global compile definition 2024-03-07 10:57:25 -06:00
Ward Fisher
64cb40424c Removed assumption that we are linking against static HDF5 when building a static library. While it's reasonable to provide a mechanism to specify this, it is not necessarily true. We should also perhaps rename the NC_FIND_SHARED option, since LIBS implies it will look for static or shared libraries for all dependencies, but this logic only looks for HDF5. In any case, commenting this out for now until we can rework it. 2024-03-05 09:39:35 -07:00
Ward Fisher
8633448eea Re-adding global add-definition for the time being. Its lack introduces an unnecessary roadblock (at the moment). Re-formulated logic for determining what tests to run when. Need to figure out why plugins are turned off when MINGW is true, but that's a different issue. As of this push, all tests succeed on local windows system. 2024-02-29 12:15:30 -07:00
Ward Fisher
d557272be6 Merge branch 'packaging' of github.com:K20shores/netcdf-c into packaging 2024-02-29 12:02:04 -07:00
Ward Fisher
5ee9038a9f Update cmake-based plugins and test logic. 2024-02-29 12:01:52 -07:00
Ward Fisher
2ffbcc660b Modify messages to be more clear. 2024-02-29 11:53:13 -07:00
Kyle Shores
c29db073eb setting dll export on each target 2024-02-29 11:36:47 -06:00
Ward Fisher
f9b1b67d38 Correct lingering compilation issue under Visual Studio. Hopefully I haven't broken the Linux build 2024-02-28 16:45:48 -07:00
Ward Fisher
6738723b72 Addressing a handful of issues encountered in Visual Studio re: linking, setting compiler flags for VC, etc. 2024-02-28 16:29:23 -07:00
Kyle Shores
1508c678be removing c++ header file from c header 2024-02-27 11:50:24 -06:00
Ward Fisher
182d462203 Corrected a dependencies issue linking against libcurl and finding curl/curl.h using Visual Studio. There's another issue to correct, but this is getting us a lot closer. 2024-02-26 17:34:00 -07:00
Ward Fisher
44cb18169e Correct(?) syntax with target_compile_options() in top level CMakeLists.txt. Correct the logic flow in libncxml/CMakeLists.txt to not try to include non-existant directory when libxml2 is not found. 2024-02-23 14:06:17 -07:00
Kyle Shores
1e31577a2c removing unused cmake 2024-02-23 09:36:57 -06:00
Kyle Shores
5ee4424c5b updating tests to use correct cmake variable 2024-02-23 09:25:47 -06:00
Kyle Shores
8551a2907e removing possibly redundant cmake for shared library 2024-02-23 09:11:04 -06:00
Kyle Shores
3b0d520189 updating release notes 2024-02-23 09:04:07 -06:00
Kyle Shores
c24a0d0968 bumping cmake version 2024-02-23 09:02:15 -06:00
Kyle Shores
3526faa98d removing debug information 2024-02-23 09:01:28 -06:00
Kyle Shores
a73f4960e3 fixing a typo 2024-02-22 16:00:48 -06:00
Kyle Shores
9dbf67e88c updating hdf version 2024-02-22 11:16:11 -06:00
Kyle Shores
4edb8f8424 changing all macos versions 2024-02-22 11:04:20 -06:00
Kyle Shores
ab56e9a10b bumping macos version to see if the test passes 2024-02-22 10:26:38 -06:00
Kyle Shores
dda2c2de69 merging main 2024-02-22 09:59:05 -06:00
Peter Hill
7489c3d829 CI: Don't force -fPIC in static build 2024-02-22 09:50:56 -06:00
Peter Hill
7a9cafb161 CMake: Always prefer shared HDF5 libs on linux 2024-02-22 09:49:27 -06:00
Peter Hill
77ff561b13 CMake: Turn off plugins if building statically 2024-02-22 09:49:27 -06:00
Peter Hill
046846ecb4 CMake: Set BUILD_SHARED_LIBS before add_library(netcdf) 2024-02-22 09:49:27 -06:00
Kyle Shores
3341fbddf4 another compile definition set on the cmake target 2024-02-21 16:42:44 -06:00
Kyle Shores
09ab86122d undoing change to github actions, removing PIC 2024-02-21 16:27:28 -06:00
Ward Fisher
3433670f48
Merge pull request #2866 from WardF/update-actions.wif
Add static build to one-off GitHub Actions testing.
2024-02-21 15:13:18 -07:00
Ward Fisher
16b6344dde Add one-off static compilation test to MacOS-based GitHub actions using cmake. 2024-02-21 14:06:08 -07:00
Ward Fisher
19b2661612 Added -fPIC 2024-02-21 12:44:01 -07:00
Ward Fisher
7a4e04da6d Added serial and static configurations for cmake-based oneoff-tests as well. 2024-02-21 11:34:32 -07:00
Ward Fisher
3422c571c0 Add one-off serial tests that check static and serial-based builds. 2024-02-21 11:32:16 -07:00
Ward Fisher
5f5297507c
Merge pull request #2864 from WardF/doxygen-awesome.wif
Adopt more modern style for doxygen-generated documentation.
2024-02-20 14:43:07 -07:00
Kyle Shores
d29a0ef7e9 forcing shared to see if tests pass 2024-02-20 12:14:08 -06:00
Ward Fisher
b7d541a67b Updated release notes. 2024-02-16 17:24:55 -07:00
Ward Fisher
85e9b3df11 Adding new style sheet to user documentation. 2024-02-16 17:22:19 -07:00
Ward Fisher
80e1ba2a57 Integrating new doxygen css stylesheet. 2024-02-16 15:47:15 -07:00
Kyle Shores
8ae2260f6e
Merge pull request #2 from ZedThree/cmake-hdf5-tidy-2
Cmake hdf5 tidy 2
2024-02-16 10:07:32 -06:00
Peter Hill
11d484cbe2
CI: Bump version of HDF5 1.14 2024-02-16 11:37:15 +00:00
Peter Hill
907e5cc43f
CMake: Use target_link_libraries with HDF5::HDF5 target 2024-02-16 10:51:20 +00:00
Peter Hill
2dd7b50d2e
Docs: Update examples of specifying custom library paths to CMake 2024-02-16 10:49:50 +00:00
Peter Hill
18bd56d94b
CMake: Rely on CMake-bundled FindHDF5 2024-02-16 10:33:01 +00:00
Peter Hill
9bbdd4cd7b
Replace use of HAVE_HDF5_H feature macro with USE_HDF5 2024-02-16 10:30:58 +00:00
Peter Hill
638cdb3a66
CMake: Lowercase some functions 2024-02-16 09:25:13 +00:00
Peter Hill
eee6380dd3
CMake: Remove unused variable 2024-02-16 09:24:54 +00:00
Peter Hill
37b5c619f9
CMake: Don't repeat check for HDF5 parallel feature from FindHDF5 2024-02-16 09:24:39 +00:00
Peter Hill
9e993a06cd
CMake: Remove duplicated checks for HDF5 header
This *must* have been found by call to `find_package` earlier
2024-02-16 09:24:11 +00:00