aboutsummaryrefslogtreecommitdiff
path: root/storage-daemon/meson.build
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2020-08-04 20:18:36 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2020-08-21 06:30:23 -0400
commit7c58bb769dce4764b413ae4a9e13c4c54d537b87 (patch)
treedd8b5625d63b170f543012a7b6c3e7c05cf95ae5 /storage-daemon/meson.build
parentff219dca9ffa4c3417f8a00ef7ce3e9a15196eb0 (diff)
meson: convert qemu-storage-daemon
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'storage-daemon/meson.build')
-rw-r--r--storage-daemon/meson.build13
1 files changed, 13 insertions, 0 deletions
diff --git a/storage-daemon/meson.build b/storage-daemon/meson.build
index 35f8949924..0409acc3f5 100644
--- a/storage-daemon/meson.build
+++ b/storage-daemon/meson.build
@@ -1 +1,14 @@
+qsd_ss = ss.source_set()
+qsd_ss.add(files('qemu-storage-daemon.c'))
+qsd_ss.add(block, chardev, qmp, qom, qemuutil)
+qsd_ss.add_all(blockdev_ss)
+
subdir('qapi')
+
+if have_tools
+ qsd_ss = qsd_ss.apply(config_host, strict: false)
+ executable('qemu-storage-daemon',
+ qsd_ss.sources(),
+ dependencies: qsd_ss.dependencies(),
+ install: true)
+endif