]> git.proxmox.com Git - mirror_qemu.git/blob - tcg/meson.build
tests/qtest: Support libqtest to build and run on Windows
[mirror_qemu.git] / tcg / meson.build
1 tcg_ss = ss.source_set()
2
3 tcg_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
13 if 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'))
18 endif
19
20 specific_ss.add_all(when: 'CONFIG_TCG', if_true: tcg_ss)