1 if not get_option('tcg').allowed()
5 tcg_ss = ss.source_set()
18 if get_option('tcg_interpreter')
19 libffi = dependency('libffi', version: '>=3.0', required: true,
22 tcg_ss.add(files('tci.c'))
25 tcg_ss.add(when: libdw, if_true: files('debuginfo.c'))
27 tcg_ss.add(files('perf.c'))
30 tcg_ss = tcg_ss.apply({})
32 libtcg_user = static_library('tcg_user',
33 tcg_ss.sources() + genh,
35 c_args: '-DCONFIG_USER_ONLY',
36 build_by_default: false)
38 tcg_user = declare_dependency(link_with: libtcg_user,
39 dependencies: tcg_ss.dependencies())
42 libtcg_system = static_library('tcg_system',
43 tcg_ss.sources() + genh,
45 c_args: '-DCONFIG_SOFTMMU',
46 build_by_default: false)
48 tcg_system = declare_dependency(link_with: libtcg_system,
49 dependencies: tcg_ss.dependencies())
50 system_ss.add(tcg_system)