2018-07-27 11:20:03 +00:00
|
|
|
project('gnome-water-reminder', 'c', version: '0.1.0',
|
2018-07-27 19:42:28 +00:00
|
|
|
meson_version: '>= 0.42.0',
|
2018-07-27 11:20:03 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
i18n = import('i18n')
|
|
|
|
gnome = import('gnome')
|
|
|
|
|
|
|
|
config_h = configuration_data()
|
|
|
|
config_h.set_quoted('GETTEXT_PACKAGE', 'gnome-water-reminder')
|
|
|
|
config_h.set_quoted('LOCALEDIR', join_paths(get_option('prefix'), get_option('localedir')))
|
|
|
|
configure_file(
|
|
|
|
output: 'gwr-config.h',
|
|
|
|
configuration: config_h,
|
|
|
|
)
|
|
|
|
add_project_arguments([
|
|
|
|
'-I' + meson.build_root(),
|
|
|
|
], language: 'c')
|
|
|
|
|
|
|
|
subdir('data')
|
|
|
|
subdir('src')
|
|
|
|
subdir('po')
|
|
|
|
|
|
|
|
meson.add_install_script('build-aux/meson/postinstall.py')
|