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 = tcg_ss.apply(config_host, strict: false)
27 libtcg_user = static_library('tcg_user',
28 tcg_ss.sources() + genh,
30 c_args: '-DCONFIG_USER_ONLY',
31 build_by_default: have_user)
33 tcg_user = declare_dependency(link_with: libtcg_user,
34 dependencies: tcg_ss.dependencies())
37 libtcg_softmmu = static_library('tcg_softmmu',
38 tcg_ss.sources() + genh,
40 c_args: '-DCONFIG_SOFTMMU',
41 build_by_default: have_system)
43 tcg_softmmu = declare_dependency(link_with: libtcg_softmmu,
44 dependencies: tcg_ss.dependencies())
45 system_ss.add(tcg_softmmu)