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
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
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
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
61c9a8641d
Fix cmake syntax typo.
2023-12-12 10:06:55 -07:00
Ward Fisher
ed90d50078
Typo fix in support of gh2824.wif
2023-12-12 10:04:18 -07:00
Ward Fisher
8d422704ec
Replace exec_program with execute_process
2023-10-27 12:20:46 -06:00
Ward Fisher
a5d15a5857
Merge pull request #2776 from ZedThree/cmake-optional-uninstall-target
...
CMake: Don't add uninstall target and CPack config if not top-level
2023-10-27 10:58:34 -06:00
Peter Hill
b41b79a8e5
CMake: Add backport of PROJECT_IS_TOP_LEVEL
for CMake <3.21
2023-10-25 11:50:07 +01:00
Ward Fisher
d476629704
Replace accidental flag removal
2023-10-24 13:16:11 -06:00
Ward Fisher
347b2504bf
Undo previous change.
2023-10-24 13:15:12 -06:00
Ward Fisher
dcad99082d
Remove sensitive info being sent to standard output when using ctest scripts.
2023-10-24 11:13:04 -06:00
Peter Hill
523c648e5d
CMake: Don't add uninstall target and CPack config if not top-level
...
Fixes #2597
2023-10-23 10:20:29 +01:00
Peter Hill
5ee66e87ac
CMake: Export targets so the build directory can be used directly
2023-10-20 17:47:18 +01:00
Ward Fisher
17a7577701
Revert a change made in d3c2cf236
that is proving confounding in MSYS2-based bash environments.
2023-10-09 10:51:13 -06:00
Ward Fisher
b62da98420
Merge pull request #2757 from ZedThree/cmake-fix-hdf5-zlib-check
...
CMake: Change header in check for HDF5 zlib/szip support
2023-10-02 16:22:55 -06:00
Peter Hill
b6cb581cec
CMake: Change header in check for HDF5 zlib/szip support
...
H5public.h might require MPI headers which we haven't found at this
point
Fixes #2742
2023-10-02 10:13:26 +01:00