2020-08-04 21:18:36 +03:00
|
|
|
qsd_ss = ss.source_set()
|
|
|
|
qsd_ss.add(files('qemu-storage-daemon.c'))
|
2024-05-24 11:00:23 +03:00
|
|
|
qsd_ss.add(blockdev, chardev, qmp, qom, qemuutil)
|
2020-08-04 21:18:36 +03:00
|
|
|
|
2020-08-19 15:44:56 +03:00
|
|
|
subdir('qapi')
|
2020-08-04 21:18:36 +03:00
|
|
|
|
|
|
|
if have_tools
|
2023-08-30 12:52:43 +03:00
|
|
|
qsd_ss = qsd_ss.apply({})
|
2021-08-11 12:47:05 +03:00
|
|
|
qsd = executable('qemu-storage-daemon',
|
|
|
|
qsd_ss.sources(),
|
2024-05-24 14:17:08 +03:00
|
|
|
link_args: '@block.syms', link_depends: block_syms,
|
2021-08-11 12:47:05 +03:00
|
|
|
dependencies: qsd_ss.dependencies(),
|
|
|
|
install: true)
|
2020-08-04 21:18:36 +03:00
|
|
|
endif
|