forked from tomasz-oponowicz/markets
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmeson.build
More file actions
32 lines (25 loc) · 858 Bytes
/
meson.build
File metadata and controls
32 lines (25 loc) · 858 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
project('com.bitstower.Markets', ['c', 'vala'],
version: '0.5.2',
meson_version: '>= 0.50.0',
default_options: [ 'warning_level=2',
],
)
app_binary = 'bitstower-markets'
app_id = meson.project_name() # com.bitstower.Markets
app_install_prefix = get_option('prefix')
add_project_arguments('-DGETTEXT_PACKAGE="@0@"'.format(app_id), language: 'c')
conf_data = configuration_data()
conf_data.set_quoted('APP_ID', app_id)
conf_data.set_quoted('APP_VERSION', meson.project_version())
conf_data.set_quoted('APP_INSTALL_PREFIX', app_install_prefix)
app_constants = configure_file(
input : 'constants.vala.in',
output : 'constants.vala',
configuration : conf_data
)
i18n = import('i18n')
gnome = import('gnome')
subdir('data')
subdir('src')
subdir('po')
meson.add_install_script('build-aux/meson/postinstall.py')