2017-11-30 12:25:13 +01:00
|
|
|
sway_sources = files(
|
2017-11-30 09:39:27 +01:00
|
|
|
'main.c',
|
|
|
|
'server.c',
|
|
|
|
'commands.c',
|
2017-12-07 13:31:49 +01:00
|
|
|
'input/input-manager.c',
|
2017-12-07 15:58:32 +01:00
|
|
|
'input/seat.c',
|
2017-11-30 09:39:27 +01:00
|
|
|
'commands/exit.c',
|
2017-12-04 22:43:49 +01:00
|
|
|
'commands/exec.c',
|
|
|
|
'commands/exec_always.c',
|
2017-12-05 10:40:55 +01:00
|
|
|
'config.c',
|
2017-11-30 09:39:27 +01:00
|
|
|
'ipc-json.c',
|
|
|
|
'ipc-server.c',
|
|
|
|
'desktop/output.c',
|
2017-12-03 20:21:26 +01:00
|
|
|
'desktop/wl_shell.c',
|
2017-11-30 09:39:27 +01:00
|
|
|
'desktop/xdg_shell_v6.c',
|
2017-12-04 12:19:36 +01:00
|
|
|
'desktop/xwayland.c',
|
2017-12-05 10:40:55 +01:00
|
|
|
'security.c',
|
2017-11-30 09:39:27 +01:00
|
|
|
'tree/container.c',
|
|
|
|
'tree/layout.c',
|
|
|
|
'tree/workspace.c',
|
|
|
|
)
|
|
|
|
|
|
|
|
sway_deps = [
|
|
|
|
pixman,
|
|
|
|
wayland_server,
|
|
|
|
jsonc,
|
|
|
|
wlroots,
|
|
|
|
libcap,
|
|
|
|
math,
|
2017-12-06 14:28:46 +01:00
|
|
|
libinput,
|
2017-11-30 09:39:27 +01:00
|
|
|
]
|
|
|
|
|
|
|
|
executable(
|
|
|
|
'sway',
|
|
|
|
sway_sources,
|
|
|
|
include_directories: [sway_inc],
|
2017-11-30 12:25:13 +01:00
|
|
|
dependencies: sway_deps,
|
2017-11-30 14:31:13 +01:00
|
|
|
link_with: [lib_sway_common],
|
|
|
|
install: true
|
2017-11-30 09:39:27 +01:00
|
|
|
)
|