blob: a1cd03c82c9145f48e8bb2440ab72c9d643af09a [file] [log] [blame]
qom_ss = ss.source_set()
qom_ss.add(genh)
qom_ss.add(files(
'container.c',
'object.c',
'object_interfaces.c',
'qom-qobject.c',
))
qmp_ss.add(files('qom-qmp-cmds.c'))
softmmu_ss.add(files('qom-hmp-cmds.c'))
qom_ss = qom_ss.apply(config_host, strict: false)
libqom = static_library('qom', qom_ss.sources() + genh,
dependencies: [qom_ss.dependencies()],
name_suffix: 'fa')
qom = declare_dependency(link_whole: libqom)