summaryrefslogblamecommitdiffstats
path: root/tcg/meson.build
blob: c4c63b19d4edcb08774d18f907154db0cd2c3aef (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11



                        
             





                  






                                                                  

                                                        
tcg_ss = ss.source_set()

tcg_ss.add(files(
  'optimize.c',
  'region.c',
  'tcg.c',
  'tcg-common.c',
  'tcg-op.c',
  'tcg-op-gvec.c',
  'tcg-op-vec.c',
))

if get_option('tcg_interpreter')
  libffi = dependency('libffi', version: '>=3.0', required: true,
                      method: 'pkg-config', kwargs: static_kwargs)
  specific_ss.add(libffi)
  specific_ss.add(files('tci.c'))
endif

specific_ss.add_all(when: 'CONFIG_TCG', if_true: tcg_ss)