Unidata / netcdf-fortran

Official GitHub repository for netCDF-Fortran libraries, which depend on the netCDF C library. Install the netCDF C library first.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cmake modernization

LecrisUT opened this issue · comments

This should be moved into the main netcdf-c project, ensuring the library versions are equivalent

These were split off after netcdf 4.1.3, and it is unlikely they will be recombined.

Then please re-open as a mirror issue to Unidata/netcdf-c#2713. And in addition to those points:

  • make netcdf-c a submodule dependency
  • add an organization wide github workflow
  • synchronize or delegate one library to have the main cmake files (defining macros and so on)

I believe there are more disadvantages in keeping these organized as individual repositories and much more CI complexity to be designed and maintained than there is advantages. Is there a discussion for the split off decision to be read and can it be reconsidered in light of the advances of the build system tools?

@WardF, please re-open this issue because this is still relevant with the comments linked to the C library. Why is the fortran interface namespaced as netCDF::netcdft? It should be netCDF::Fortran or equivalent.

INSTALL(TARGETS netcdff netcdff_c
EXPORT netcdffTargets