diff options
| author | Gerion Entrup <gerion.entrup@flump.de> | 2024-03-11 11:21:56 +0100 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2024-04-05 09:36:59 -0700 |
| commit | 06bc8a8d37620506ec5d176577fdc9f6ae5f011b (patch) | |
| tree | 35a4c860c6b33e2948a66fb0392f000d96301cc3 /docs/yaml/functions | |
| parent | 30c38e2bd69b2bab74b6e76da1c626f3c9853613 (diff) | |
| download | meson-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')
| -rw-r--r-- | docs/yaml/functions/custom_target.yaml | 5 | ||||
| -rw-r--r-- | docs/yaml/functions/generator.yaml | 5 | ||||
| -rw-r--r-- | docs/yaml/functions/run_target.yaml | 5 |
3 files changed, 9 insertions, 6 deletions
diff --git a/docs/yaml/functions/custom_target.yaml b/docs/yaml/functions/custom_target.yaml index caccd4883..cd5c60e2e 100644 --- a/docs/yaml/functions/custom_target.yaml +++ b/docs/yaml/functions/custom_target.yaml @@ -138,14 +138,15 @@ kwargs: argument. Useful for adding regen dependencies. depends: - type: list[build_tgt | custom_tgt] + type: list[build_tgt | custom_tgt | custom_idx] description: | Specifies that this target depends on the specified target(s), even though it does not take any of them as a command line argument. This is meant for cases where you have a tool that e.g. does globbing internally. Usually you should just put the generated sources as inputs and Meson will set up all dependencies - automatically. + automatically (custom_idx was unavailable as a type between 0.60 + and 1.4.0). depfile: type: str 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 diff --git a/docs/yaml/functions/run_target.yaml b/docs/yaml/functions/run_target.yaml index 66d6e8f1d..3ede1c91e 100644 --- a/docs/yaml/functions/run_target.yaml +++ b/docs/yaml/functions/run_target.yaml @@ -40,11 +40,12 @@ kwargs: the first item will find that command in `PATH` and run it. depends: - type: list[build_tgt | custom_tgt] + type: list[build_tgt | custom_tgt | custom_idx] description: | A list of targets that this target depends on but which are not listed in the command array (because, for example, the - script does file globbing internally) + script does file globbing internally, custom_idx was not possible + as a type between 0.60 and 1.4.0). env: since: 0.57.0 |
