Kyle Shores
2bce1e6776
Replace ENABLE_CDF5 with NETCDF_ENABLE_CDF5
2024-03-18 15:51:04 -05:00
Kyle Shores
b4eb8bf019
Replace ENABLE_BYTERANGE with NETCDF_ENABLE_BYTERANGE
2024-03-18 15:50:57 -05:00
Kyle Shores
eb489815ff
Replace ENABLE_BENCHMARKS with NETCDF_ENABLE_BENCHMARKS
2024-03-18 15:50:09 -05:00
Kyle Shores
4b0611bf71
Replace ENABLE_BASH_SCRIPT_TESTING with NETCDF_ENABLE_BASH_SCRIPT_TESTING
2024-03-18 15:50:07 -05:00
Kyle Shores
e934438e14
replacing ENABLE_ATEXIT_FINALIZE
2024-03-18 15:30:20 -05:00
Kyle Shores
6d9726473b
replacing DOXYGEN_ENABLE_TASKS
2024-03-18 15:29:56 -05:00
Kyle Shores
dc4830a632
replacing BUILD_UTILITIES
2024-03-18 15:29:24 -05:00
Ward Fisher
443195973a
Merge branch 'main' into find_pnetcdf
2024-03-11 16:02:54 -06:00
Kyle Shores
76f5a08f23
removing need for global compile definition
2024-03-07 10:57:25 -06: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
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
c24a0d0968
bumping cmake version
2024-02-23 09:02:15 -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
Kyle Shores
d29a0ef7e9
forcing shared to see if tests pass
2024-02-20 12:14:08 -06:00
Kyle Shores
db805e5388
pic?
2024-02-13 16:28:49 -06:00
Kyle Shores
f9e3247164
merging main, addressing some PR comments
2024-02-07 09:53:45 -06:00
Ward Fisher
e528c8b617
Merge pull request #2774 from ZedThree/export-targets-for-build-dir
...
CMake: Export targets so the build directory can be used directly
2024-02-06 11:18:20 -07:00
Greg Sjaardema
fc76a5a170
Minor -- fix UNset to unset
...
The #2842 PR changed most CMake keywords to lowercase, but missed (a portion) of the UNSET commands which were changed to `UNset`. This follows on to that and pushes them all the way to `unset`
2024-02-01 12:37:06 -07:00
Kyle Shores
e31d535bed
removing some compile things
2024-01-26 14:44:19 -06:00
Kyle Shores
5cd1f4e9b1
leaving HAVE_CONFIG_H as top level definition for now
2024-01-26 14:28:16 -06:00
Kyle Shores
d816309e53
targeting netcdf for compile definitions
2024-01-26 13:56:19 -06:00
Kyle Shores
207a70ef9a
undoing packaging
2024-01-26 13:51:19 -06:00
Kyle Shores
ca182c0979
using target_sources
2024-01-26 13:29:38 -06:00
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
Peter Hill
3c59bf6f54
CMake: Tidy exporting targets
...
Fixes comments from review
2024-01-24 11:20:08 +00:00
Peter Hill
4aa6d38bc4
CMake: Consistent name for feature variable
2024-01-24 10:51:24 +00:00
Peter Hill
a33ba11450
Merge branch 'main' into find_pnetcdf
...
* main:
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
CMake: Add support for UNITY_BUILD
Change signature of `nczm_sortenvv` to take `size_t`
Try to more consistently use `size_t` for argument of `nclistlength`
Try to more consistently use `size_t` for `nclistget` index argument
Include header for `size_t` in `nclist.h`
2024-01-24 10:04:53 +00:00
Kyle Shores
887c479533
setting up packaging in its own directory, using netcdf as a target for compile options
2024-01-19 09:25:24 -06:00
Kyle Shores
05ce85be78
more syntax fixes
2024-01-18 15:07:13 -06:00
Kyle Shores
a40c7847f9
Update CMakeLists.txt
...
Co-authored-by: Peter Hill <zed.three@gmail.com>
2024-01-18 15:02:48 -06:00
Kyle Shores
5e487fd381
lowercase
2024-01-17 16:07:22 -06:00
Kyle Shores
e7c7221f28
moving functions and macros to a file
2024-01-17 15:17:50 -06:00
Peter Hill
e728555beb
CMake: Simplify setting some cache variables for pnetcdf
2024-01-17 17:15:00 +00:00
Peter Hill
eccbd64d55
CMake: Move pnetcdf detection to FindPNETCDF
cmake module
...
Also:
- add back call to `include_directories` for PnetCDF
- ensure `MPI` is found for PnetCDF with serial HDF5
2024-01-17 15:23:03 +00:00
Kyle Shores
656fdbb374
moving the dependencies inclusion
2024-01-16 11:20:43 -06:00
Kyle Shores
2f794b7e7f
merging main
2024-01-10 16:16:49 -06:00
Kyle Shores
330f911ecf
removing debug messages
2024-01-10 16:12:04 -06:00
Kyle Shores
ca850af099
actually adding the dependencies file...
2024-01-10 16:11:00 -06:00
Kyle Shores
efc20c64d2
putting dependencies into separate file
2024-01-10 15:18:15 -06:00
Kyle Shores
e995c2e696
moving the version into the project command in cmake
2024-01-05 10:06:32 -06:00