Merge pull request #5663 from ePirat/patch-3

Docs: Fix brackets in generator examples [ci skip]
pull/5664/head
Michael Hirsch, Ph.D 6 years ago committed by GitHub
commit 6bf71e816b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      docs/markdown/Generating-sources.md

@ -59,14 +59,14 @@ foo_c = custom_target(
output : 'foo.c',
input : 'my_gen.py',
command : [prog_python, '@INPUT@', '--code', '@OUTPUT@'],
]
)
foo_h = custom_target(
'foo.h',
output : 'foo.h',
input : 'my_gen.py',
command : [prog_python, '@INPUT@', '--header', '@OUTPUT@'],
]
)
libfoo = static_library('foo', [foo_c, foo_h])
@ -94,7 +94,7 @@ foo_ch = custom_target(
output : ['foo.c', 'foo.h'],
input : 'my_gen.py',
command : [prog_python, '@INPUT@', '@OUTPUT@'],
]
)
libfoo = static_library('foo', [foo_ch])

Loading…
Cancel
Save