|
|
|
sway_sources = files(
|
|
|
|
'main.c',
|
|
|
|
'server.c',
|
|
|
|
'commands.c',
|
|
|
|
'input/input-manager.c',
|
|
|
|
'input/seat.c',
|
|
|
|
'input/cursor.c',
|
|
|
|
'input/keyboard.c',
|
|
|
|
'commands/exit.c',
|
|
|
|
'commands/exec.c',
|
|
|
|
'commands/exec_always.c',
|
|
|
|
'commands/include.c',
|
|
|
|
'commands/input.c',
|
|
|
|
'commands/seat.c',
|
|
|
|
'commands/seat/attach.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',
|
|
|
|
'config.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/workspace.c',
|
|
|
|
)
|
|
|
|
|
|
|
|
sway_deps = [
|
|
|
|
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
|
|
|
|
)
|