-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmeson.build
More file actions
42 lines (36 loc) · 1.24 KB
/
meson.build
File metadata and controls
42 lines (36 loc) · 1.24 KB
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
project('GTK-Examples', [ 'c', 'vala', 'cpp' ],
version: '0.1.0',
license: 'Zlib',
meson_version: '>= 0.56.0',
)
m = dependency('m',
required: false,
not_found_message: 'math library not found, trying to find it manually',
)
if not m.found()
cc = meson.get_compiler('c')
m = cc.find_library('m', required: true)
endif
gtk3 = dependency('gtk+-3.0', required: true)
gtk4 = dependency('gtk4', required: true)
epoxy = dependency('epoxy', required: true)
gtkmm3 = dependency('gtkmm-3.0', required: true)
gtkmm4 = dependency('gtkmm-4.0', required: true)
gnome = import('gnome')
resources = gnome.compile_resources('resources', 'data/resources.xml',
source_dir: 'data'
)
builder_gtk3_ui = { 'builderPath': meson.project_source_root() / 'data' / 'builder-gtk3.ui' }
builder_gtk4_ui = { 'builderPath': meson.project_source_root() / 'data' / 'builder-gtk4.ui' }
css_conf = { 'cssPath': meson.project_source_root() / 'data' / 'css-provider.css' }
image_conf = { 'imagePath': meson.project_source_root() / 'data' / 'grid-explained.png' }
subdir('c/gtk3')
subdir('c/gtk4')
subdir('cpp/gtk3/oop')
subdir('cpp/gtk3/procedural')
subdir('cpp/gtk4/oop')
subdir('cpp/gtk4/procedural')
subdir('lua/gtk3')
subdir('lua/gtk4')
subdir('vala/gtk3')
subdir('vala/gtk4')