-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmeson.build
More file actions
47 lines (39 loc) · 976 Bytes
/
meson.build
File metadata and controls
47 lines (39 loc) · 976 Bytes
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
44
45
46
47
project('aether-command', 'vala', 'c',
version: '0.1.0-alpha',
license: 'GPL-3.0-or-later'
)
gnome = import('gnome')
add_project_arguments([
'--pkg=gtk4',
'--pkg=libadwaita-1',
'--pkg=vte-2.91-gtk4',
'--gresources', join_paths(meson.current_source_dir(), 'data', 'org.aether.command.gresource.xml')
], language: 'vala')
add_project_arguments([
'-Wno-discarded-qualifiers',
'-Wno-unused-variable',
'-Wno-unused-label',
'-Wno-deprecated-declarations'
], language: 'c')
dependencies = [
dependency('gtk4'),
dependency('libadwaita-1'),
dependency('vte-2.91-gtk4')
]
gresource = gnome.compile_resources(
'aether-command-resources',
'data' / 'org.aether.command.gresource.xml',
source_dir: 'data'
)
sources = files(
'src/main.vala',
'src/window.vala',
'src/terminal.vala'
)
executable('aether-command',
sources,
gresource,
dependencies: dependencies,
install: true
)
subdir('data')