project( 'munchmate', ['vala', 'c'], license: 'GPL-3.0+', version: '0.0+dev', ) app_id = 'im.gzr.MunchMate' if get_option('buildtype') == 'debug' app_id += '.Devel' endif config = configuration_data({ 'APP_ID': '"@0@"'.format(app_id), 'VERSION': '"@0@"'.format(meson.project_version()), 'BUILD_TYPE': '"@0@"'.format(get_option('buildtype')), }) configure_file(output: 'config.h', configuration: config) config_h_dir = include_directories('.') add_project_arguments( ['-w'], language: 'c' ) glib_dep = dependency('glib-2.0') gio_dep = dependency('gio-2.0', version: '>=2.40') gtk_dep = dependency('gtk4') adw_dep = dependency('libadwaita-1') dex_dep = dependency('libdex-1') gnome = import('gnome') gnome.post_install( glib_compile_schemas: true, gtk_update_icon_cache: true, update_desktop_database: true, ) subdir('data') subdir('src')