docs: fixed meson syntax for Generating-sources.md
Signed-off-by: Marty Plummer <ntzrmtthihu777@gmail.com>
This commit is contained in:
parent
0283a2fb41
commit
cb05b2aab0
|
@ -24,8 +24,8 @@ Custom targets can take zero or more input files and use them to generate one or
|
|||
|
||||
```meson
|
||||
gen_src = custom_target('gen-output',
|
||||
input : ['somefile1.c', 'file2.c']
|
||||
output : ['out.c', 'out.h']
|
||||
input : ['somefile1.c', 'file2.c'],
|
||||
output : ['out.c', 'out.h'],
|
||||
command : [mycomp, '@INPUT@',
|
||||
'--c-out', '@OUTPUT0@',
|
||||
'--h-out', '@OUTPUT1@'])
|
||||
|
|
Loading…
Reference in New Issue