diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2019-07-16 19:33:55 +0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-08-21 06:30:16 -0400 |
commit | 7fcfd45666c382dfadce0ea160cba7e8d3328337 (patch) | |
tree | cd3e99cf3fa9a22b4e6085627c9775e96b27aee2 /io/meson.build | |
parent | 5582c58f82b2a356cac721af2e973a6fc6880fc1 (diff) |
meson: convert io directory to Meson
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'io/meson.build')
-rw-r--r-- | io/meson.build | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/io/meson.build b/io/meson.build new file mode 100644 index 0000000000..768c1b5ec3 --- /dev/null +++ b/io/meson.build @@ -0,0 +1,25 @@ +io_ss = ss.source_set() +io_ss.add(genh) +io_ss.add(files( + 'channel-buffer.c', + 'channel-command.c', + 'channel-file.c', + 'channel-socket.c', + 'channel-tls.c', + 'channel-util.c', + 'channel-watch.c', + 'channel-websock.c', + 'channel.c', + 'dns-resolver.c', + 'net-listener.c', + 'task.c', +)) + +io_ss = io_ss.apply(config_host, strict: false) +libio = static_library('io', io_ss.sources() + genh, + dependencies: [io_ss.dependencies()], + link_with: libqemuutil, + name_suffix: 'fa', + build_by_default: false) + +io = declare_dependency(link_whole: libio, dependencies: [crypto, qom]) |