mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-10 02:54:58 -06:00
meson: build qapi tests library
- builds QAPI builtins types/visitor to fix a linking issue with unresolved symbols in the static library. - work around a meson limitation on generated file output directories. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20200828110734.1638685-2-marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
c138156ba5
commit
37e2777670
3 changed files with 62 additions and 78 deletions
16
tests/include/meson.build
Normal file
16
tests/include/meson.build
Normal file
|
@ -0,0 +1,16 @@
|
|||
# an extra target to workaround meson limitation on output files location
|
||||
test_qapi_outputs_extra = [
|
||||
'test-qapi-commands-sub-module.c',
|
||||
'test-qapi-commands-sub-module.h',
|
||||
'test-qapi-events-sub-module.c',
|
||||
'test-qapi-events-sub-module.h',
|
||||
'test-qapi-types-sub-module.c',
|
||||
'test-qapi-types-sub-module.h',
|
||||
'test-qapi-visit-sub-module.c',
|
||||
'test-qapi-visit-sub-module.h',
|
||||
]
|
||||
|
||||
test_qapi_outputs_extra = custom_target('QAPI test (include)',
|
||||
output: test_qapi_outputs_extra,
|
||||
input: test_qapi_files,
|
||||
command: 'true')
|
Loading…
Add table
Add a link
Reference in a new issue