diff options
author | Michael Hirsch, Ph.D <scivision@users.noreply.github.com> | 2019-01-26 23:56:32 -0500 |
---|---|---|
committer | Michael Hirsch, Ph.D <scivision@users.noreply.github.com> | 2019-01-30 06:38:29 -0500 |
commit | 1ebaeadf60fd6f162e73ee3938e88cf72659a8a8 (patch) | |
tree | 067c08ef70e5a3e5a1f3e7348f757e924331ac56 /docs/markdown/Dependencies.md | |
parent | c5a78c9e495058e61a4456fca6b6854b3823fc90 (diff) | |
download | meson-1ebaeadf60fd6f162e73ee3938e88cf72659a8a8.zip meson-1ebaeadf60fd6f162e73ee3938e88cf72659a8a8.tar.gz meson-1ebaeadf60fd6f162e73ee3938e88cf72659a8a8.tar.bz2 |
initial HDF5 pkg-config fortran works
Diffstat (limited to 'docs/markdown/Dependencies.md')
-rw-r--r-- | docs/markdown/Dependencies.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/markdown/Dependencies.md b/docs/markdown/Dependencies.md index e3fedc4..4ff5a2a 100644 --- a/docs/markdown/Dependencies.md +++ b/docs/markdown/Dependencies.md @@ -269,6 +269,17 @@ e = executable('testprog', 'test.cc', dependencies : gtest_dep) test('gtest test', e) ``` +## HDF5 +HDF5 is supported for C, C++ and Fortran. Because dependencies are +language-specific, you must specify the requested language using the +`language` keyword argument, i.e., + * `dependency('hdf5', language: 'c')` for the C HDF5 headers and libraries + * `dependency('hdf5', language: 'cpp')` for the C++ HDF5 headers and libraries + * `dependency('hdf5', language: 'fortran')` for the Fortran HDF5 headers and libraries + +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. + + ## libwmf *(added 0.44.0)* |