diff options
Diffstat (limited to 'docs/markdown/Generating-sources.md')
-rw-r--r-- | docs/markdown/Generating-sources.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/markdown/Generating-sources.md b/docs/markdown/Generating-sources.md index 8a03945..c251805 100644 --- a/docs/markdown/Generating-sources.md +++ b/docs/markdown/Generating-sources.md @@ -68,7 +68,7 @@ Generators can also generate multiple output files with unknown names: ```meson gen2 = generator(someprog, outputs : ['@BASENAME@.c', '@BASENAME@.h'], - arguments : ['--out_dir=@BUILD_DIR@', '@INPUT@'] + arguments : ['--out_dir=@BUILD_DIR@', '@INPUT@']) ``` In this case you can not use the plain `@OUTPUT@` variable, as it would be ambiguous. This program only needs to know the output directory, it will generate the file names by itself. |