2019-07-26 10:02:31 +02:00
|
|
|
libvixl_ss = ss.source_set()
|
|
|
|
subdir('libvixl')
|
|
|
|
|
|
|
|
common_ss.add(when: 'CONFIG_ALPHA_DIS', if_true: files('alpha.c'))
|
|
|
|
common_ss.add(when: 'CONFIG_ARM_A64_DIS', if_true: files('arm-a64.cc'))
|
|
|
|
common_ss.add_all(when: 'CONFIG_ARM_A64_DIS', if_true: libvixl_ss)
|
|
|
|
common_ss.add(when: 'CONFIG_CRIS_DIS', if_true: files('cris.c'))
|
2021-02-08 06:45:55 +01:00
|
|
|
common_ss.add(when: 'CONFIG_HEXAGON_DIS', if_true: files('hexagon.c'))
|
2019-07-26 10:02:31 +02:00
|
|
|
common_ss.add(when: 'CONFIG_HPPA_DIS', if_true: files('hppa.c'))
|
|
|
|
common_ss.add(when: 'CONFIG_M68K_DIS', if_true: files('m68k.c'))
|
|
|
|
common_ss.add(when: 'CONFIG_MICROBLAZE_DIS', if_true: files('microblaze.c'))
|
|
|
|
common_ss.add(when: 'CONFIG_MIPS_DIS', if_true: files('mips.c'))
|
|
|
|
common_ss.add(when: 'CONFIG_NANOMIPS_DIS', if_true: files('nanomips.cpp'))
|
|
|
|
common_ss.add(when: 'CONFIG_NIOS2_DIS', if_true: files('nios2.c'))
|
|
|
|
common_ss.add(when: 'CONFIG_RISCV_DIS', if_true: files('riscv.c'))
|
|
|
|
common_ss.add(when: 'CONFIG_SH4_DIS', if_true: files('sh4.c'))
|
|
|
|
common_ss.add(when: 'CONFIG_SPARC_DIS', if_true: files('sparc.c'))
|
|
|
|
common_ss.add(when: 'CONFIG_XTENSA_DIS', if_true: files('xtensa.c'))
|
2020-09-12 19:47:33 +02:00
|
|
|
common_ss.add(when: capstone, if_true: files('capstone.c'))
|