blob: 49c9d2eac91fb6af56c16db8a790cb69ee268fab [file] [log] [blame]
Paolo Bonzini7c58bb72020-08-04 20:18:36 +02001qsd_ss = ss.source_set()
2qsd_ss.add(files('qemu-storage-daemon.c'))
Roman Bolshakov3eacf702021-01-02 15:52:13 +03003qsd_ss.add(blockdev, chardev, qmp, qom, qemuutil, gnutls)
Paolo Bonzini7c58bb72020-08-04 20:18:36 +02004
Paolo Bonzinia81df1b2020-08-19 08:44:56 -04005subdir('qapi')
Paolo Bonzini7c58bb72020-08-04 20:18:36 +02006
7if have_tools
8 qsd_ss = qsd_ss.apply(config_host, strict: false)
Thomas Huthcc1838c2021-08-11 11:47:05 +02009 qsd = executable('qemu-storage-daemon',
10 qsd_ss.sources(),
11 dependencies: qsd_ss.dependencies(),
12 install: true)
Paolo Bonzini7c58bb72020-08-04 20:18:36 +020013endif