1specific_ss.add(files('accel-common.c')) 2softmmu_ss.add(files('accel-softmmu.c')) 3user_ss.add(files('accel-user.c')) 4 5subdir('tcg') 6if have_system 7 subdir('hvf') 8 subdir('qtest') 9 subdir('kvm') 10 subdir('xen') 11 subdir('stubs') 12endif 13 14dummy_ss = ss.source_set() 15dummy_ss.add(files( 16 'dummy-cpus.c', 17)) 18 19specific_ss.add_all(when: ['CONFIG_SOFTMMU', 'CONFIG_POSIX'], if_true: dummy_ss) 20specific_ss.add_all(when: ['CONFIG_XEN'], if_true: dummy_ss) 21