From b7cb30e175f28b6af555a04bcf7e000eb330578e Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Fri, 18 Sep 2020 12:13:10 -0700 Subject: dependencies/hdf5: Convert to a dependency_factory Instead of a mega dependency that does everything, use a dependency factory for config-tool and pkg-config --- docs/markdown/Dependencies.md | 4 ++++ docs/markdown/snippets/hdf5_dependnecy_improvements.md | 6 ++++++ 2 files changed, 10 insertions(+) create mode 100644 docs/markdown/snippets/hdf5_dependnecy_improvements.md (limited to 'docs') diff --git a/docs/markdown/Dependencies.md b/docs/markdown/Dependencies.md index b89a0aa..efd8728 100644 --- a/docs/markdown/Dependencies.md +++ b/docs/markdown/Dependencies.md @@ -364,6 +364,10 @@ language-specific, you must specify the requested language using the Meson uses pkg-config to find HDF5. The standard low-level HDF5 function and the `HL` high-level HDF5 functions are linked for each language. +`method` may be `auto`, `config-tool` or `pkg-config`. + +*New in 0.56.0* the `config-tool` method. +*New in 0.56.0* the dependencies now return proper dependency types and `get_variable` and similar methods should work as expected. ## libwmf diff --git a/docs/markdown/snippets/hdf5_dependnecy_improvements.md b/docs/markdown/snippets/hdf5_dependnecy_improvements.md new file mode 100644 index 0000000..1f6b2e8 --- /dev/null +++ b/docs/markdown/snippets/hdf5_dependnecy_improvements.md @@ -0,0 +1,6 @@ +## HDF5 dependency improvements + +HDF5 has been improved so that the internal representations have been split. +This allows selecting pkg-config and config-tool dependencies separately. +Both work as proper dependencies of their type, so `get_variable` and similar +now work correctly. -- cgit v1.1