diff options
| author | Supreeeme <yungwallace@live.com> | 2025-09-28 17:37:43 -0400 |
|---|---|---|
| committer | Jussi Pakkanen <jussi.pakkanen@mailbox.org> | 2025-10-05 00:50:10 +0300 |
| commit | 684474eca63c32bf6d74c865430c03ead932ecc7 (patch) | |
| tree | 2df2c495770ec1de386f8435b0cc85ea28de98ef /docs | |
| parent | 79935ff8355d1f2a0b790233ad71a43517afd8d5 (diff) | |
| download | meson-684474eca63c32bf6d74c865430c03ead932ecc7.tar.gz | |
Document that custom_target outputs cannot be in a subdirectory
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/yaml/functions/custom_target.yaml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/docs/yaml/functions/custom_target.yaml b/docs/yaml/functions/custom_target.yaml index 094787bbe..5836bb764 100644 --- a/docs/yaml/functions/custom_target.yaml +++ b/docs/yaml/functions/custom_target.yaml @@ -12,6 +12,10 @@ description: | custom_target('foo', output: 'file.txt', ...) ``` + The files passed to `output:` cannot contain path separators. See the + [manual on custom build targets](Custom-build-targets.md#details-on-command-invocation) for + an explanation on where output files should be placed. + You can install the outputted files with the `install_dir:` kwarg, see below. *Since 0.60.0* the name argument is optional and defaults to the basename of the first @@ -217,7 +221,8 @@ kwargs: output: type: array[str] - description: Array of output files. + description: | + Array of output files. These cannot contain path separators. env: since: 0.57.0 |
