-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmeson.build
36 lines (30 loc) · 904 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
project('com.github.amzamora.notebooks', ['vala','c'])
gnome = import('gnome')
asresources = gnome.compile_resources(
'as-resources', 'install/data/css.gresource.xml',
source_dir: 'install/data',
c_name: 'as'
)
# Update html for editor in src/widgets/Editor.vala
python = import('python').find_installation('python3')
bundle_editor = custom_target('bundle editor',
output : 'fake',
command : [python, join_paths(meson.source_root(), 'install/scripts/bundle_editor.py')],
build_by_default : true
)
exe = executable (meson.project_name(),
'src/Application.vala',
'src/MainWindow.vala',
'src/widgets/Editor.vala',
'src/widgets/Image.vala',
'src/services/Settings.vala',
asresources,
dependencies : [
dependency('gtk+-3.0'),
dependency('granite'),
dependency('webkit2gtk-4.0')
],
install : true
)
meson.add_install_script('install/scripts/post_install.py')
subdir ('install/data')