Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion docs/yaml/functions/custom_target.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
Loading