xref: /openbmc/qemu/qom/meson.build (revision a68694cd)
1qom_ss = ss.source_set()
2qom_ss.add(genh)
3qom_ss.add(files(
4  'container.c',
5  'object.c',
6  'object_interfaces.c',
7  'qom-qobject.c',
8))
9
10qmp_ss.add(files('qom-qmp-cmds.c'))
11softmmu_ss.add(files('qom-hmp-cmds.c'))
12
13qom_ss = qom_ss.apply(config_host, strict: false)
14libqom = static_library('qom', qom_ss.sources() + genh,
15                        dependencies: [qom_ss.dependencies()],
16                        name_suffix: 'fa')
17
18qom = declare_dependency(link_whole: libqom)
19