-
Notifications
You must be signed in to change notification settings - Fork 7
/
meson.build
43 lines (38 loc) · 1.12 KB
/
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
33
34
35
36
37
38
39
40
41
42
43
# project name and programming language
project('com.github.jeremyvaartjes.subminder', 'vala', 'c')
i18n = import('i18n')
add_global_arguments('-DGETTEXT_PACKAGE="@0@"'.format (meson.project_name()), language:'c')
# Create a new executable, list the files we want to compile, list the dependencies we need, and install
executable(
meson.project_name(),
'src/Application.vala',
'src/Subscription.vala',
'src/SubscriptionListRow.vala',
'src/SMCurrency.vala',
'src/AddSubscriptionDialog.vala',
'src/Settings.vala',
'src/DefaultCurrencyDialog.vala',
dependencies: [
dependency('gtk+-3.0'),
dependency('gee-0.8'),
dependency('json-glib-1.0'),
dependency('granite'),
dependency('libsoup-2.4')
],
install: true
)
executable(
meson.project_name()+'-daemon',
'src/Daemon.vala',
'src/Subscription.vala',
dependencies: [
dependency('gtk+-3.0'),
dependency('gee-0.8'),
dependency('json-glib-1.0'),
dependency('granite')
],
install: true
)
subdir('data')
subdir('po')
meson.add_install_script('meson/post_install.py')