aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/Reference-manual.md
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2017-11-27 00:32:34 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2017-11-27 23:22:47 +0200
commit5bc1009109431ad6f72d1ddfcf46ea718123a48b (patch)
treeafd03287883455c8bc8277b493c4a1999dab8897 /docs/markdown/Reference-manual.md
parentdad5779d3c71d2d7474d481a4c4c2e48a1770c64 (diff)
downloadmeson-5bc1009109431ad6f72d1ddfcf46ea718123a48b.zip
meson-5bc1009109431ad6f72d1ddfcf46ea718123a48b.tar.gz
meson-5bc1009109431ad6f72d1ddfcf46ea718123a48b.tar.bz2
Add if_found kwarg to subdir().
Diffstat (limited to 'docs/markdown/Reference-manual.md')
-rw-r--r--docs/markdown/Reference-manual.md8
1 files changed, 7 insertions, 1 deletions
diff --git a/docs/markdown/Reference-manual.md b/docs/markdown/Reference-manual.md
index 3fac0ff..0f00203 100644
--- a/docs/markdown/Reference-manual.md
+++ b/docs/markdown/Reference-manual.md
@@ -1019,7 +1019,7 @@ has one argument the others don't have:
### subdir()
``` meson
- void subdir(dir_name)
+ void subdir(dir_name, ...)
```
Enters the specified subdirectory and executes the `meson.build` file
@@ -1032,6 +1032,12 @@ current build file and in all subsequent build files executed with
Note that this means that each `meson.build` file in a source tree can
and must only be executed once.
+This function has one keyword argument.
+
+ - `if_found` takes one or several dependency objects and will only
+ recurse in the subdir if they all return `true` when queried with
+ `.found()`
+
### subproject()
``` meson