aboutsummaryrefslogtreecommitdiff
path: root/qom/meson.build
blob: a1cd03c82c9145f48e8bb2440ab72c9d643af09a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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)