netcdf-c/cmake/modules
Dennis Heimbigner 126b3f9423 Support installation of filters into user-specified location
re: https://github.com/Unidata/netcdf-c/issues/2294

Ed Hartnett suggested that the netcdf library installation process
be extended to install the standard filters into a user specified
location. The user can then set HDF5_PLUGIN_PATH to that location.

This PR provides that capability using:
````
configure option: --with-plugin-dir=<absolute directory path>
cmake option: -DPLUGIN_INSTALL_DIR=<absolute directory path>
````

Currently, the following plugins are always installed, if
available: bzip2, zstd, blosc.
If NCZarr is enabled, then additional plugins are installed:
fletcher32, shuffle, deflate, szip.

Additionally, the necessary codec support is installed
for each of the above filters that is installed.

## Changes:
1. Cleanup handling of built-in bzip2.
2. Add documentation to docs/filters.md
3. Re-factor the NCZarr codec libraries
4. Add a test, although it can only be exercised after
   the library is installed, so it cannot be used during
   normal testing.
5. Cleanup use of HDF5_PLUGIN_PATH in the filter test cases.
2022-04-29 14:31:55 -06:00
..
windows 2012-11-07 17:35:35 +00:00
FindBlosc.cmake Add filter support to NCZarr 2021-09-02 17:04:26 -06:00
FindBz2.cmake Enhance/Fix filter support 2022-03-14 12:39:37 -06:00
FindBzip2.cmake Support installation of filters into user-specified location 2022-04-29 14:31:55 -06:00
FindHDF4.cmake Added cmake macros created by team at University of Hawaii, 2012-07-10 17:42:12 +00:00
FindMakeDist.cmake Fix some cmake syntax errors 2013-09-16 12:16:44 -06:00
FindSZIP.cmake Added cmake macros created by team at University of Hawaii, 2012-07-10 17:42:12 +00:00
FindXDR.cmake Added cmake macros created by team at University of Hawaii, 2012-07-10 17:42:12 +00:00
FindZip.cmake Add zip file support 2021-01-28 20:11:01 -07:00
FindZLIB.cmake Added cmake macros created by team at University of Hawaii, 2012-07-10 17:42:12 +00:00
FindZstd.cmake Enhance/Fix filter support 2022-03-14 12:39:37 -06:00