meson: Make mremap() detecting works correctly
[qemu/kevin.git] / disas / meson.build
blob7da48ea74a2a7ee8ba5bec2e528955c2afcc0eb9
1 libvixl_ss = ss.source_set()
2 subdir('libvixl')
4 common_ss.add(when: 'CONFIG_ALPHA_DIS', if_true: files('alpha.c'))
5 common_ss.add(when: 'CONFIG_ARM_A64_DIS', if_true: files('arm-a64.cc'))
6 common_ss.add_all(when: 'CONFIG_ARM_A64_DIS', if_true: libvixl_ss)
7 common_ss.add(when: 'CONFIG_CRIS_DIS', if_true: files('cris.c'))
8 common_ss.add(when: 'CONFIG_HEXAGON_DIS', if_true: files('hexagon.c'))
9 common_ss.add(when: 'CONFIG_HPPA_DIS', if_true: files('hppa.c'))
10 common_ss.add(when: 'CONFIG_M68K_DIS', if_true: files('m68k.c'))
11 common_ss.add(when: 'CONFIG_MICROBLAZE_DIS', if_true: files('microblaze.c'))
12 common_ss.add(when: 'CONFIG_MIPS_DIS', if_true: files('mips.c'))
13 common_ss.add(when: 'CONFIG_NANOMIPS_DIS', if_true: files('nanomips.cpp'))
14 common_ss.add(when: 'CONFIG_NIOS2_DIS', if_true: files('nios2.c'))
15 common_ss.add(when: 'CONFIG_RISCV_DIS', if_true: files('riscv.c'))
16 common_ss.add(when: 'CONFIG_SH4_DIS', if_true: files('sh4.c'))
17 common_ss.add(when: 'CONFIG_SPARC_DIS', if_true: files('sparc.c'))
18 common_ss.add(when: 'CONFIG_XTENSA_DIS', if_true: files('xtensa.c'))
19 common_ss.add(when: capstone, if_true: files('capstone.c'))