diff options
author | TheQwertiest <qwertiest@mail.ru> | 2019-04-08 14:57:16 +0300 |
---|---|---|
committer | TheQwertiest <qwertiest@mail.ru> | 2019-04-29 16:07:50 +0300 |
commit | 68a8481a0537510ac1c30540648da1678d6f61c5 (patch) | |
tree | 995d88d01f925454a0108f8b5ac51c1f7e6aacf5 /docs/markdown/snippets | |
parent | a098684cf334ea831c022a89546b19bf5bf76f78 (diff) | |
download | meson-68a8481a0537510ac1c30540648da1678d6f61c5.zip meson-68a8481a0537510ac1c30540648da1678d6f61c5.tar.gz meson-68a8481a0537510ac1c30540648da1678d6f61c5.tar.bz2 |
Updated docs with information about `custom_target[i]`
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r-- | docs/markdown/snippets/linkcustom.md | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/markdown/snippets/linkcustom.md b/docs/markdown/snippets/linkcustom.md index d6ee801..0cf45ad 100644 --- a/docs/markdown/snippets/linkcustom.md +++ b/docs/markdown/snippets/linkcustom.md @@ -1,6 +1,6 @@ ## Can link against custom targets -The output of `custom_target` can be used in `link_with` and +The output of `custom_target` and `custom_target[i]` can be used in `link_with` and `link_whole` keyword arguments. This is useful for integrating custom code generator steps, but note that there are many limitations: @@ -10,7 +10,8 @@ code generator steps, but note that there are many limitations: - The user is responsible for ensuring that the code produced by different toolchains are compatible. - - The custom target can only have one output file. + - `custom_target` may only be used when it has a single output file. + Use `custom_target[i]` when dealing with multiple output files. - The output file must have the correct file name extension. |