meson.build 691 B

12345678910111213141516171819202122232425262728
  1. # project name and programming language
  2. project('debins', 'vala', 'c', version: '1.0.0')
  3. subdir('data')
  4. subdir('ui')
  5. # Create a new executable, list the files we want to compile, list the dependencies we need, and install
  6. executable(
  7. meson.project_name(),
  8. 'src/PackageManager.vala',
  9. 'src/MainWindow.vala',
  10. 'src/Main.vala',
  11. uiresources,
  12. resources,
  13. dependencies: [
  14. dependency('gtk+-3.0'),
  15. dependency('gio-2.0'),
  16. ],
  17. install: true
  18. )
  19. #Install our .desktop file so the Applications Menu will see it
  20. install_data(
  21. join_paths('data', meson.project_name() + '.desktop'),
  22. install_dir: join_paths(get_option('datadir'), 'applications')
  23. )