diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2019-01-31 22:42:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-31 22:42:57 +0200 |
commit | abad2ff0056f1100425426094165691386477d11 (patch) | |
tree | bc0ae1a050ecbcacf9acc24278d003876f5d81bc /docs/markdown | |
parent | 310b5189217e3f307fd35be76413697004948186 (diff) | |
parent | bd82d3702a1dee13c7294f9dd63d4dc55741d67c (diff) | |
download | meson-abad2ff0056f1100425426094165691386477d11.zip meson-abad2ff0056f1100425426094165691386477d11.tar.gz meson-abad2ff0056f1100425426094165691386477d11.tar.bz2 |
Merge pull request #4831 from scivision/hdf5
Diffstat (limited to 'docs/markdown')
-rw-r--r-- | docs/markdown/Dependencies.md | 11 | ||||
-rw-r--r-- | docs/markdown/snippets/hdf5.md | 3 |
2 files changed, 14 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)* diff --git a/docs/markdown/snippets/hdf5.md b/docs/markdown/snippets/hdf5.md new file mode 100644 index 0000000..8ebb4c0 --- /dev/null +++ b/docs/markdown/snippets/hdf5.md @@ -0,0 +1,3 @@ +## HDF5 + +HDF5 support is added via pkg-config. |