aboutsummaryrefslogtreecommitdiffstats
path: root/sway/meson.build
blob: 271d4a9988c471795b860c587dd0f7fdabe40e99 (plain) (blame)
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
sway_sources = files(
	'main.c',
	'server.c',
	'commands.c',
	'input/input-manager.c',
	'input/seat.c',
	'input/cursor.c',
	'input/keyboard.c',
	'commands/bind.c',
	'commands/exit.c',
	'commands/exec.c',
	'commands/exec_always.c',
	'commands/kill.c',
	'commands/include.c',
	'commands/input.c',
	'commands/seat.c',
	'commands/seat/attach.c',
	'commands/seat/fallback.c',
	'commands/set.c',
	'commands/input/accel_profile.c',
	'commands/input/click_method.c',
	'commands/input/drag_lock.c',
	'commands/input/dwt.c',
	'commands/input/events.c',
	'commands/input/left_handed.c',
	'commands/input/middle_emulation.c',
	'commands/input/natural_scroll.c',
	'commands/input/pointer_accel.c',
	'commands/input/scroll_method.c',
	'commands/input/tap.c',
	'commands/input/xkb_layout.c',
	'commands/input/xkb_model.c',
	'commands/input/xkb_options.c',
	'commands/input/xkb_rules.c',
	'commands/input/xkb_variant.c',
	'commands/output.c',
	'commands/reload.c',
	'commands/workspace.c',
	'config.c',
	'config/output.c',
	'config/seat.c',
	'config/input.c',
	'criteria.c',
	'ipc-json.c',
	'ipc-server.c',
	'desktop/output.c',
	'desktop/wl_shell.c',
	'desktop/xdg_shell_v6.c',
	'desktop/xwayland.c',
	'security.c',
	'tree/container.c',
	'tree/layout.c',
	'tree/view.c',
	'tree/workspace.c',
)

sway_deps = [
	pcre,
	pixman,
	wayland_server,
	jsonc,
	wlroots,
	libcap,
	math,
	libinput,
	xkbcommon,
]

executable(
	'sway',
	sway_sources,
	include_directories: [sway_inc],
	dependencies: sway_deps,
	link_with: [lib_sway_common],
	install: true
)