kopia lustrzana https://gitlab.com/Zwarf/picplanner
29 wiersze
705 B
Meson
29 wiersze
705 B
Meson
project('picplanner', 'c',
|
|
version: '0.1.0',
|
|
meson_version: '>= 0.50.0',
|
|
default_options: [ 'warning_level=2',
|
|
'c_std=gnu11',
|
|
],
|
|
)
|
|
|
|
i18n = import('i18n')
|
|
|
|
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')))
|
|
configure_file(
|
|
output: 'picplanner-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')
|