summaryrefslogtreecommitdiff
path: root/docs/yaml/functions/generator.yaml
diff options
context:
space:
mode:
authorGerion Entrup <gerion.entrup@flump.de>2024-03-11 11:21:56 +0100
committerDylan Baker <dylan@pnwbakers.com>2024-04-05 09:36:59 -0700
commit06bc8a8d37620506ec5d176577fdc9f6ae5f011b (patch)
tree35a4c860c6b33e2948a66fb0392f000d96301cc3 /docs/yaml/functions/generator.yaml
parent30c38e2bd69b2bab74b6e76da1c626f3c9853613 (diff)
downloadmeson-06bc8a8d37620506ec5d176577fdc9f6ae5f011b.tar.gz
depends keyword argument: accept CustomTargetIndex
That holds for all of these meson function: run_target, generator and custom_target and additionally to the Windows and Gnome module.
Diffstat (limited to 'docs/yaml/functions/generator.yaml')
-rw-r--r--docs/yaml/functions/generator.yaml5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/yaml/functions/generator.yaml b/docs/yaml/functions/generator.yaml
index cec0b79e3..6079d300f 100644
--- a/docs/yaml/functions/generator.yaml
+++ b/docs/yaml/functions/generator.yaml
@@ -50,12 +50,13 @@ kwargs:
depends:
# Not sure why this is not just `target`
- type: list[build_tgt | custom_tgt]
+ type: list[build_tgt | custom_tgt | custom_idx]
since: 0.51.0
description: |
An array of build targets that must be built before
this generator can be run. This is used if you have a generator that calls
- a second executable that is built in this project.
+ a second executable that is built in this project (custom_idx was not
+ available between 0.60 and 1.4.0).
depfile:
type: str