-
Notifications
You must be signed in to change notification settings - Fork 1
/
meson.build
38 lines (32 loc) · 841 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
33
34
35
36
37
38
project('com.thattonybo.scribble',
'vala', 'c',
meson_version: '>= 0.57.0',
version: '0.1.0'
)
gnome = import('gnome')
i18n = import('i18n')
add_global_arguments('-DGETTEXT_PACKAGE="@0@"'.format (meson.project_name()), language: 'c')
gresource = gnome.compile_resources(
'gresource',
'data' / 'gresource.xml',
source_dir: 'data'
)
executable(
meson.project_name(),
gresource,
'src' / 'Application.vala',
'src' / 'MainWindow.vala',
'src' / 'Handler.vala',
'src' / 'Objects' / 'Note.vala',
'src' / 'Widgets' / 'NoteRow.vala',
'src' / 'Widgets' / 'EditableLabel.vala',
dependencies: [
dependency('granite-7'),
dependency('gtk4'),
dependency('sqlite3')
],
install: true
)
subdir('data')
subdir('po')
gnome.post_install(glib_compile_schemas: true)