meson.build 427 B

1234567891011121314151617181920212223
  1. subdir('app')
  2. subdir('pd')
  3. subdir('mlib')
  4. if host_machine.system() == 'darwin'
  5. d_versions = []
  6. else
  7. d_versions = ['PD_USE_MAGICK']
  8. endif
  9. libpd = static_library('pd',
  10. sources: pd_files,
  11. d_module_versions: d_versions,
  12. d_import_dirs: include_directories('pd')
  13. )
  14. executable(meson.project_name(),
  15. sources: app_files,
  16. d_import_dirs: include_directories('app', 'pd'),
  17. install: true,
  18. link_with: [libpd, libmlib]
  19. )