picplanner/meson.build

29 wiersze
705 B
Meson
Czysty Zwykły widok Historia

project('picplanner', 'c',
2022-10-01 21:24:07 +00:00
version: '0.3.2',
meson_version: '>= 0.50.0',
default_options: [ 'warning_level=2',
'c_std=gnu11',
],
2020-06-22 07:38:23 +00:00
)
i18n = import('i18n')
2020-06-22 07:38:23 +00:00
config_h = configuration_data()
config_h.set_quoted('PACKAGE_VERSION', meson.project_version())
config_h.set_quoted('GETTEXT_PACKAGE', 'picplanner')
config_h.set_quoted('LOCALEDIR', join_paths(get_option('prefix'), get_option('localedir')))
2020-06-22 07:38:23 +00:00
configure_file(
output: 'picplanner-config.h',
configuration: config_h,
)
add_project_arguments([
'-I' + meson.build_root(),
], language: 'c')
subdir('data')
2020-06-22 07:38:23 +00:00
subdir('src')
subdir('po')
2020-06-22 07:38:23 +00:00
meson.add_install_script('build-aux/meson/postinstall.py')