~sircmpwn/scurvy

scurvy/meson.build -rw-r--r-- 1013 bytes
5418b3e4emersion Switch to meson 3 years ago
                                                                                
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
48
49
50
51
52
53
54
55
project(
	'scurvy',
	'c',
	license: 'MIT',
	meson_version: '>=0.43.0',
	default_options: [
		'c_std=c11',
		'warning_level=2',
		'werror=true',
	],
)

add_project_arguments('-Wno-unused-parameter', language: 'c')

scurvy_inc = include_directories('include')

wayland_client = dependency('wayland-client')
wayland_protos = dependency('wayland-protocols')
wayland_cursor = dependency('wayland-cursor')
vterm = dependency('vterm')
cairo = dependency('cairo')
pango = dependency('pango')
pangocairo = dependency('pangocairo')
xkbcommon = dependency('xkbcommon')

subdir('protocol')

executable(
	'scurvy',
	files(
		'src/main.c',
		'src/wayland/buffers.c',
		'src/wayland/main.c',
		'src/wayland/registry.c',
		'src/wayland/window.c',
		'src/ini.c',
		'src/colors.c',
		'src/config.c',
		'src/log.c',
		'src/pango.c',
		'src/child.c',
		'src/term.c',
		'src/utf8.c',
	),
	include_directories: scurvy_inc,
	dependencies: [
		wayland_cursor,
		vterm,
		cairo,
		pango,
		pangocairo,
		xkbcommon,
		scurvy_protos,
	],
)