xref: /openbmc/qemu/io/meson.build (revision a68694cd)
1io_ss = ss.source_set()
2io_ss.add(genh)
3io_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
18io_ss = io_ss.apply(config_host, strict: false)
19libio = 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
25io = declare_dependency(link_whole: libio, dependencies: [crypto, qom])
26