meson: convert hw/vfio
[qemu.git] / io / meson.build
1 io_ss = ss.source_set()
2 io_ss.add(genh)
3 io_ss.add(files(
4   'channel-buffer.c',
5   'channel-command.c',
6   'channel-file.c',
7   'channel-socket.c',
8   'channel-tls.c',
9   'channel-util.c',
10   'channel-watch.c',
11   'channel-websock.c',
12   'channel.c',
13   'dns-resolver.c',
14   'net-listener.c',
15   'task.c',
16 ))
17
18 io_ss = io_ss.apply(config_host, strict: false)
19 libio = static_library('io', io_ss.sources() + genh,
20                        dependencies: [io_ss.dependencies()],
21                        link_with: libqemuutil,
22                        name_suffix: 'fa',
23                        build_by_default: false)
24
25 io = declare_dependency(link_whole: libio, dependencies: [crypto, qom])