xref: /openbmc/qemu/tcg/meson.build (revision f6476697)
1tcg_ss = ss.source_set()
2
3tcg_ss.add(files(
4  'optimize.c',
5  'region.c',
6  'tcg.c',
7  'tcg-common.c',
8  'tcg-op.c',
9  'tcg-op-gvec.c',
10  'tcg-op-vec.c',
11))
12
13if get_option('tcg_interpreter')
14  libffi = dependency('libffi', version: '>=3.0', required: true,
15                      method: 'pkg-config', kwargs: static_kwargs)
16  specific_ss.add(libffi)
17  specific_ss.add(files('tci.c'))
18endif
19
20specific_ss.add_all(when: 'CONFIG_TCG', if_true: tcg_ss)
21