-
Notifications
You must be signed in to change notification settings - Fork 0
/
meson.build
32 lines (27 loc) · 846 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 name and programming language
project('io.github.leolost2605.detective', 'vala', 'c')
pkgconfig = import('pkgconfig')
i18n = import('i18n')
# Set our translation domain
add_global_arguments('-DGETTEXT_PACKAGE="@0@"'.format (meson.project_name()), language:'c')
subdir('lib')
subdir('plugins')
# 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' / 'MatchRow.vala',
'src' / 'SearchWindow.vala',
'src' / 'ShellKeyGrabber.vala',
dependencies: [
dependency('gtk4'),
dependency('granite-7'),
dependency('tracker-sparql-3.0'),
dependency('libportal'),
dependency('libportal-gtk4'),
lib_dep
],
install: true
)
subdir('data')
subdir('po')