meson.build 672 B

123456789101112131415161718192021222324252627
  1. project('gobject-introspection', 'c')
  2. cc = meson.get_compiler('c')
  3. add_global_arguments('-DMESON_TEST', language : 'c')
  4. if cc.get_id() == 'intel'
  5. # Ignore invalid GCC pragma warnings from glib
  6. # https://bugzilla.gnome.org/show_bug.cgi?id=776562
  7. add_global_arguments('-wd2282', language : 'c')
  8. endif
  9. gnome = import('gnome')
  10. gio = dependency('gio-2.0')
  11. giounix = dependency('gio-unix-2.0')
  12. glib = dependency('glib-2.0')
  13. gobj = dependency('gobject-2.0')
  14. gir = dependency('gobject-introspection-1.0')
  15. gmod = dependency('gmodule-2.0')
  16. subdir('resources-data')
  17. subdir('resources')
  18. subdir('gir')
  19. subdir('schemas')
  20. subdir('gdbus')
  21. subdir('mkenums')
  22. subdir('genmarshal')