2017-11-30 22:25:13 +11:00
|
|
|
sway_sources = files(
|
2017-11-30 19:39:27 +11:00
|
|
|
'main.c',
|
|
|
|
'server.c',
|
|
|
|
'commands.c',
|
|
|
|
'commands/exit.c',
|
|
|
|
'ipc-json.c',
|
|
|
|
'ipc-server.c',
|
|
|
|
'desktop/output.c',
|
|
|
|
'desktop/xdg_shell_v6.c',
|
|
|
|
'tree/container.c',
|
|
|
|
'tree/layout.c',
|
|
|
|
'tree/workspace.c',
|
|
|
|
)
|
|
|
|
|
|
|
|
sway_deps = [
|
|
|
|
pixman,
|
|
|
|
wayland_server,
|
|
|
|
jsonc,
|
|
|
|
wlroots,
|
|
|
|
libcap,
|
|
|
|
math,
|
|
|
|
]
|
|
|
|
|
|
|
|
executable(
|
|
|
|
'sway',
|
|
|
|
sway_sources,
|
|
|
|
include_directories: [sway_inc],
|
2017-11-30 22:25:13 +11:00
|
|
|
dependencies: sway_deps,
|
2017-12-01 00:31:13 +11:00
|
|
|
link_with: [lib_sway_common],
|
|
|
|
install: true
|
2017-11-30 19:39:27 +11:00
|
|
|
)
|