summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2018-06-08 12:45:18 +0100
committerNirbheek Chauhan <nirbheek.chauhan@gmail.com>2018-06-10 01:47:51 +0000
commitd47ece391a01c037097d209816684e34d918c3a8 (patch)
treec816c293c5975c5ed92b6831a92590830c8632d7
parent2e29f37b0ed004c73f9786117f625fae9146b194 (diff)
downloadmeson-d47ece391a01c037097d209816684e34d918c3a8.tar.gz
Document version when custom detectors were added [skip ci]
-rw-r--r--docs/markdown/Dependencies.md27
1 files changed, 23 insertions, 4 deletions
diff --git a/docs/markdown/Dependencies.md b/docs/markdown/Dependencies.md
index a811784c9..15ad3fef9 100644
--- a/docs/markdown/Dependencies.md
+++ b/docs/markdown/Dependencies.md
@@ -127,10 +127,11 @@ wmf_dep = dependency('libwmf', method : 'config-tool')
## Dependencies using config tools
-[CUPS](#cups), [LLVM](#llvm), PCAP, [WxWidgets](#wxwidgets), libwmf, and GnuStep
-either do not provide pkg-config modules or additionally can be detected via a
-config tool (cups-config, llvm-config, etc). Meson has native support for these
-tools, and they can be found like other dependencies:
+[CUPS](#cups), [LLVM](#llvm), [pcap](#pcap), [WxWidgets](#wxwidgets),
+[libwmf](#libwmf), and GnuStep either do not provide pkg-config modules or
+additionally can be detected via a config tool (cups-config, llvm-config,
+etc). Meson has native support for these tools, and they can be found like other
+dependencies:
```meson
pcap_dep = dependency('pcap', version : '>=1.0')
@@ -203,6 +204,12 @@ e = executable('testprog', 'test.cc', dependencies : gtest_dep)
test('gtest test', e)
```
+## libwmf
+
+*(added 0.44.0)*
+
+`method` may be `auto`, `config-tool` or `pkg-config`.
+
## LLVM
Meson has native support for LLVM going back to version LLVM version 3.5.
@@ -234,6 +241,8 @@ llvm_dep = dependency(
## MPI
+*(added 0.42.0)*
+
MPI 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.,
@@ -250,11 +259,19 @@ environment variables `MPICC`, `MPICXX`, `MPIFC`, `MPIF90`, or
## OpenMP
+*(added 0.46.0)*
+
This dependency selects the appropriate compiler flags and/or libraries to use
for OpenMP support.
The `language` keyword may used.
+# pcap
+
+*(added 0.42.0)*
+
+`method` may be `auto`, `config-tool` or `pkg-config`.
+
## Python3
Python3 is handled specially by meson:
@@ -331,6 +348,8 @@ and avoids trying to link with it's non-PIC static libs.
## Vulkan
+*(added 0.42.0)*
+
Vulkan can be located using `pkg-config`, or the `VULKAN_SDK` environment variable.
`method` may be `auto`, `pkg-config` or `system`.