diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2017-11-27 00:32:34 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2017-11-27 20:50:04 +0200 |
commit | 3b3bceb85f8af89962e1c0d789b5c2d1234492dc (patch) | |
tree | aef2af10e1a5fcf5d50f4dcafd486f49d2f345ae /docs/markdown/Reference-manual.md | |
parent | f70760a5108ac7802f5385fb5e7c15229bf5d5c8 (diff) | |
download | meson-iffound.tar.gz |
Add if_found kwarg to subdir().iffound
Diffstat (limited to 'docs/markdown/Reference-manual.md')
-rw-r--r-- | docs/markdown/Reference-manual.md | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/docs/markdown/Reference-manual.md b/docs/markdown/Reference-manual.md index 2aa966586..fcfad32ca 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 |