-
Notifications
You must be signed in to change notification settings - Fork 1
/
meson.build
32 lines (26 loc) · 931 Bytes
/
meson.build
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('gdx', ['vala', 'c'],
version: '0.1.1',
license: 'MIT',
meson_version: '>=0.37')
i18n = import('i18n')
gio = dependency('gio-2.0', version: '>=2.32')
gtk = dependency('gtk+-3.0', version: '>=3.18')
gee = dependency('gee-0.8', version: '>=0.18')
glib = dependency('glib-2.0', version: '>=2.32')
gobject = dependency('gobject-2.0', version: '>=2.32')
sqlite3 = dependency('sqlite3')
posix = meson.get_compiler('vala').find_library('posix')
conf = configuration_data()
conf.set_quoted('VERSION', meson.project_version())
conf.set_quoted('GETTEXT_PACKAGE', meson.project_name())
conf.set_quoted('GNOMELOCALEDIR', get_option('prefix') + '/' + get_option('localedir'))
configure_file(output: 'config.h', configuration: conf)
config_h_dir = include_directories('.')
c_args = [
'-include', 'config.h',
]
subdir('data')
subdir('po')
subdir('src')
subdir('tests')
meson.add_install_script('meson-post-install.py')