meson.build 976 B

123456789101112131415161718
  1. remote_ss = ss.source_set()
  2. remote_ss.add(when: 'CONFIG_MULTIPROCESS', if_true: files('machine.c'))
  3. remote_ss.add(when: 'CONFIG_MULTIPROCESS', if_true: files('mpqemu-link.c'))
  4. remote_ss.add(when: 'CONFIG_MULTIPROCESS', if_true: files('message.c'))
  5. remote_ss.add(when: 'CONFIG_MULTIPROCESS', if_true: files('remote-obj.c'))
  6. remote_ss.add(when: 'CONFIG_MULTIPROCESS', if_true: files('proxy.c'))
  7. remote_ss.add(when: 'CONFIG_MULTIPROCESS', if_true: files('iohub.c'))
  8. remote_ss.add(when: 'CONFIG_MULTIPROCESS', if_true: files('iommu.c'))
  9. remote_ss.add(when: 'CONFIG_VFIO_USER_SERVER', if_true: libvfio_user_dep)
  10. remote_ss.add(when: 'CONFIG_VFIO_USER_SERVER', if_true: files('vfio-user-obj.c'),
  11. if_false: files('vfio-user-obj-stub.c'))
  12. specific_ss.add(when: 'CONFIG_MULTIPROCESS', if_true: files('memory.c'))
  13. specific_ss.add(when: 'CONFIG_MULTIPROCESS', if_true: files('proxy-memory-listener.c'))
  14. system_ss.add_all(when: 'CONFIG_MULTIPROCESS', if_true: remote_ss)