aboutsummaryrefslogtreecommitdiff
path: root/qom/meson.build
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2019-07-16 19:40:16 +0400
committerPaolo Bonzini <pbonzini@redhat.com>2020-08-21 06:30:15 -0400
commitde59dda32db56a0126047f74ec817df181f22f4a (patch)
treee43b9dda945ff327cc5f3738b93509b4324cb986 /qom/meson.build
parent3afe7ab0d3f40270cb4dac58a8895ba21a646df6 (diff)
meson: convert qom directory to Meson (tools part)
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'qom/meson.build')
-rw-r--r--qom/meson.build15
1 files changed, 15 insertions, 0 deletions
diff --git a/qom/meson.build b/qom/meson.build
new file mode 100644
index 0000000000..7b2cd510f8
--- /dev/null
+++ b/qom/meson.build
@@ -0,0 +1,15 @@
+qom_ss = ss.source_set()
+qom_ss.add(files(
+ 'container.c',
+ 'object.c',
+ 'object_interfaces.c',
+ 'qom-qobject.c',
+))
+
+qom_ss = qom_ss.apply(config_host, strict: false)
+libqom = static_library('qom', qom_ss.sources() + genh,
+ dependencies: [qom_ss.dependencies()],
+ link_with: [libqemuutil],
+ name_suffix: 'fa')
+
+qom = declare_dependency(link_whole: libqom)