aboutsummaryrefslogtreecommitdiff
path: root/examples/meson.build
blob: a83def8fc26fdf5007b7da071264bbef8aa20c87 (plain)
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
lib_shared = static_library(
	'shared',
	['support/shared.c', 'support/cat.c', 'support/ini.c', 'support/config.c'],
	dependencies: wlroots,
	include_directories: include_directories('support')
)

threads = dependency('threads')

executable('simple', 'simple.c', dependencies: wlroots, link_with: lib_shared)
executable('pointer', 'pointer.c', dependencies: wlroots, link_with: lib_shared)
executable('touch', 'touch.c', dependencies: wlroots, link_with: lib_shared)
executable('tablet', 'tablet.c', dependencies: wlroots, link_with: lib_shared)
executable('multi-pointer', 'multi-pointer.c', dependencies: wlroots,
	link_with: lib_shared)

executable(
	'rotation',
	'rotation.c',
	dependencies: wlroots,
	link_with: lib_shared,
)

executable(
	'output-layout',
	'output-layout.c',
	dependencies: wlroots,
	link_with: lib_shared,
)

executable(
	'screenshot',
	'screenshot.c',
	dependencies: [wayland_client, wlr_protos, wlroots],
	link_with: lib_shared,
)

executable(
	'idle',
	'idle.c',
	dependencies: [wayland_client, wlr_protos, wlroots, threads],
	link_with: lib_shared,
)

executable(
	'idle-inhibit',
	'idle-inhibit.c',
	dependencies: [wayland_client, wlr_protos, wlroots, threads],
	link_with: lib_shared,
)