-
Notifications
You must be signed in to change notification settings - Fork 0
/
meson.build
32 lines (28 loc) · 947 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.extension-manager', 'vala', 'c')
# Include the translations module
i18n = import('i18n')
# Set our translation domain
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' / 'CategoryRow.vala',
'src' / 'ExtensionPage.vala',
'src' / 'ExtensionRow.vala',
'src' / 'WelcomeView.vala',
'src' / 'Window.vala',
'src' / 'Core' / 'Extension.vala',
'src' / 'Core' / 'ExtensionManager.vala',
dependencies: [
dependency('gtk4'),
dependency('packagekit-glib2'),
dependency('libadwaita-1'),
dependency('appstream'),
dependency('granite-7')
],
install: true
)
subdir('data')
subdir('po')