meson.build 805 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. project('pace',
  2. ['c', 'vala'],
  3. version: '1.4.1',
  4. meson_version: '>= 0.49.0',
  5. )
  6. i18n = import('i18n')
  7. gio = dependency('gio-2.0', version: '>= 2.50')
  8. iniparser_proj = subproject('iniparser')
  9. iniparser = iniparser_proj.get_variable('dep')
  10. pace_deps = []
  11. if (get_option('gui'))
  12. gtk3 = dependency('gtk+-3.0', version: '>= 3.22')
  13. gtksourceview = dependency('gtksourceview-4', version: '>= 4.0')
  14. pace_deps = [
  15. gtk3,
  16. gtksourceview,
  17. ]
  18. endif
  19. pace_cli_deps = [
  20. iniparser,
  21. ]
  22. pace_file_writer_deps = [
  23. gio
  24. ]
  25. gnome = import('gnome')
  26. subdir('data')
  27. subdir('icon')
  28. subdir('actions')
  29. subdir('config')
  30. subdir('ui')
  31. subdir('src')
  32. subdir('po')
  33. subdir('test')
  34. message (' \nBuild Options: \n' +
  35. ' gui: ' + get_option('gui').to_string() + '\n' +
  36. '\n')