Kyle Shores
831bf665ce
Replace ENABLE_DOXYGEN with NETCDF_ENABLE_DOXYGEN
2024-03-18 15:51:24 -05:00
Kyle Shores
d270aa8e93
Replace ENABLE_DAP with NETCDF_ENABLE_DAP
2024-03-18 15:51:14 -05:00
Kyle Shores
5bd28e2af4
Replace ENABLE_COVERAGE_TESTS with NETCDF_ENABLE_COVERAGE_TESTS
2024-03-18 15:51:12 -05:00
Kyle Shores
b4eb8bf019
Replace ENABLE_BYTERANGE with NETCDF_ENABLE_BYTERANGE
2024-03-18 15:50:57 -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
Ward Fisher
5973f3d683
Merge pull request #2847 from K20shores/packaging
...
Use cmake netCDF with target_* for many options
2024-03-11 15:55:36 -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
Kyle Shores
c29db073eb
setting dll export on each target
2024-02-29 11:36:47 -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
Peter Hill
7a9cafb161
CMake: Always prefer shared HDF5 libs on linux
2024-02-22 09:49:27 -06:00
Julius Plehn
6cc5c17789
Fixes finding HDF5 header
2024-02-22 11:04:00 +01:00
Peter Hill
907e5cc43f
CMake: Use target_link_libraries
with HDF5::HDF5
target
2024-02-16 10:51:20 +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
Peter Hill
ef001e3cfd
CMake: Use built-in FindHDF5
module to find HDF5
...
Set the required version so that the module deals with working out the
version for us
2024-02-16 09:16:23 +00:00
Peter Hill
257b27afd1
CMake: Remove unused add_definitions
2024-02-16 09:15:13 +00:00
Kyle Shores
53887b2295
and now this
2024-02-15 16:51:38 -06:00
Kyle Shores
e9cc0794a9
or perhaps it's this one
2024-02-15 16:40:41 -06:00
Kyle Shores
a0931fe06a
trying a different thing
2024-02-15 16:33:16 -06:00
Peter Hill
4aa6d38bc4
CMake: Consistent name for feature variable
2024-01-24 10:51:24 +00:00
Peter Hill
ff80ee4f9f
CMake: Set feature variable rather than erroring in FindPNETCDF
...
Enables potential reuse of module outside of netCDF
2024-01-24 10:51:23 +00:00
Peter Hill
e88dc9c8e6
CMake: Ensure pnetcdf links to MPI, libm
2024-01-24 10:51:23 +00:00
Peter Hill
4835e43f33
CMake: Consistent casing of PNETCDF target
2024-01-24 10:51:23 +00:00
Peter Hill
a689a536f8
CMake: Use message(DEBUG)
in FindPNETCDF
2024-01-24 10:50:14 +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
237efec07e
Merge branch 'main' into packaging
2024-01-19 09:27:07 -06: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
Ward Fisher
a8f8f1f1ee
Merge branch 'main' into cmake-better-fix-hdf5-check
2024-01-18 15:50:28 -08:00
Kyle Shores
05ce85be78
more syntax fixes
2024-01-18 15:07:13 -06:00
Peter Hill
e6f68f7f53
CMake: Find HDF5 header we can safely include for other checks
2024-01-18 16:04:54 +00:00
Kyle Shores
9fb46ce480
moving functions and macros to new file, lowercase things
2024-01-18 09:15:20 -06:00
Peter Hill
e632818b40
CMake: Move FindPNETCDF
to cmake/modules
2024-01-18 15:07:26 +00:00
Kyle Shores
cb28b1ba0c
lowercase
2024-01-17 15:47:16 -06:00
Kyle Shores
e7c7221f28
moving functions and macros to a file
2024-01-17 15:17:50 -06:00
Peter Hill
fd6421d5c9
CMake: Don't use include_directories
for pnetcdf
2024-01-17 17:17:59 +00:00
Peter Hill
e728555beb
CMake: Simplify setting some cache variables for pnetcdf
2024-01-17 17:15:00 +00:00
Peter Hill
425d38ac4f
CMake: Require pnetcdf if requested
2024-01-17 16:19:19 +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
e13c75b61c
merge conflict
2024-01-16 13:44:06 -06:00
Kyle Shores
656fdbb374
moving the dependencies inclusion
2024-01-16 11:20:43 -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
Mathieu Westphal
b708cb90bc
cmake: Improve FindSzip logic to provide a Szip_LIBRARY var
2023-12-20 07:58:22 +01:00
Eisuke Kawashima
d755c4ff32
chore: unset executable flag
2023-08-23 13:31:42 +09:00