a81df1b68b
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> |
||
---|---|---|
.. | ||
arch_type.c | ||
bdrv-next-monitor-owned.c | ||
blk-commit-all.c | ||
blockdev-close-all-bdrv-states.c | ||
change-state-handler.c | ||
clock-warp.c | ||
cmos.c | ||
cpu-get-clock.c | ||
cpu-get-icount.c | ||
dump.c | ||
error-printf.c | ||
fd-register.c | ||
fdset.c | ||
fw_cfg.c | ||
gdbstub.c | ||
get-vm-name.c | ||
io_uring.c | ||
iothread-lock.c | ||
iothread.c | ||
is-daemonized.c | ||
isa-bus.c | ||
linux-aio.c | ||
machine-init-done.c | ||
meson.build | ||
migr-blocker.c | ||
monitor-core.c | ||
monitor.c | ||
notify-event.c | ||
pci-bus.c | ||
pci-host-piix.c | ||
qmp_memory_device.c | ||
qtest.c | ||
ram-block.c | ||
ramfb.c | ||
replay-user.c | ||
replay.c | ||
runstate-check.c | ||
semihost.c | ||
set-fd-handler.c | ||
sysbus.c | ||
target-get-monitor-def.c | ||
target-monitor-defs.c | ||
tpm.c | ||
trace-control.c | ||
uuid.c | ||
vm-stop.c | ||
vmgenid.c | ||
vmstate.c | ||
win32-kbd-hook.c |