Documentation, FAQ.md, generated_headers [skip ci]
This commit is contained in:
parent
0b9e8e39dd
commit
0a583ac06a
|
@ -432,7 +432,7 @@ sources in the build target:
|
|||
libfoo_gen_headers = custom_target('gen-headers', ..., output: 'foo-gen.h')
|
||||
libfoo_sources = files('foo-utils.c', 'foo-lib.c')
|
||||
# Add generated headers to the list of sources for the build target
|
||||
libfoo = library('foo', sources: libfoo_sources + libfoo_gen_headers)
|
||||
libfoo = library('foo', sources: [libfoo_sources + libfoo_gen_headers])
|
||||
```
|
||||
|
||||
Now let's say you have a new target that links to `libfoo`:
|
||||
|
|
Loading…
Reference in New Issue