aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2019-05-02 22:21:56 +0300
committerGitHub <noreply@github.com>2019-05-02 22:21:56 +0300
commit7059c47aad2ef28046ceb8566f0c1d2f98e03cb1 (patch)
tree01bdf4592080181fbd7c89f2350ae8573f8bb98a /docs/markdown
parent70997ca969dab0de7a800af7f7c7d6c7e25cf4ac (diff)
parentd74ab216db4e4eb7574813517b5a7edb44631e1c (diff)
downloadmeson-7059c47aad2ef28046ceb8566f0c1d2f98e03cb1.zip
meson-7059c47aad2ef28046ceb8566f0c1d2f98e03cb1.tar.gz
meson-7059c47aad2ef28046ceb8566f0c1d2f98e03cb1.tar.bz2
Merge pull request #5161 from TheQwertiest/feature/custom_target_link
Can link against custom_target[i]
Diffstat (limited to 'docs/markdown')
-rw-r--r--docs/markdown/snippets/linkcustom.md5
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.