diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2020-08-19 08:44:56 -0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-08-21 06:30:08 -0400 |
commit | a81df1b68b656f2487f556240baf2af83e60ec6c (patch) | |
tree | eb98104c0a66b6a6d7675055d92c36b60d683796 /scripts/qapi-gen.py | |
parent | 245dac4a1bef719d648e20c84bbf3dcaf50de988 (diff) | |
download | qemu-a81df1b68b656f2487f556240baf2af83e60ec6c.zip qemu-a81df1b68b656f2487f556240baf2af83e60ec6c.tar.gz qemu-a81df1b68b656f2487f556240baf2af83e60ec6c.tar.bz2 |
libqemuutil, qapi, trace: convert to meson
This shows how to do some "computations" in meson.build using its array
and dictionary data structures, and also a basic usage of the sourceset
module for conditional compilation.
Notice the new "if have_system" part of util/meson.build, which fixes
a bug in the old build system was buggy: util/dbus.c was built even for
non-softmmu builds, but the dependency on -lgio was lost when the linking
was done through libqemuutil.a. Because all of its users required gio
otherwise, the bug was hidden. Meson instead propagates libqemuutil's
dependencies down to its users, and shows the problem.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/qapi-gen.py')
-rw-r--r--[-rwxr-xr-x] | scripts/qapi-gen.py | 0 |
1 files changed, 0 insertions, 0 deletions
diff --git a/scripts/qapi-gen.py b/scripts/qapi-gen.py index 4b03f7d..4b03f7d 100755..100644 --- a/scripts/qapi-gen.py +++ b/scripts/qapi-gen.py |