4fb9071f65
Introduce libblkdev.fa to avoid recompiling blockdev_ss twice. Suggested-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Message-id: 20200929125516.186715-3-stefanha@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
14 lines
352 B
Meson
14 lines
352 B
Meson
qsd_ss = ss.source_set()
|
|
qsd_ss.add(files('qemu-storage-daemon.c'))
|
|
qsd_ss.add(blockdev, chardev, qmp, qom, qemuutil)
|
|
|
|
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
|