2017-11-30 06:25:13 -05:00
|
|
|
sway_sources = files(
|
2017-11-30 03:39:27 -05:00
|
|
|
'main.c',
|
|
|
|
'server.c',
|
|
|
|
'commands.c',
|
2017-12-07 07:31:49 -05:00
|
|
|
'input/input-manager.c',
|
2017-12-07 09:58:32 -05:00
|
|
|
'input/seat.c',
|
2017-12-08 07:22:26 -05:00
|
|
|
'input/cursor.c',
|
2017-12-10 13:59:04 -05:00
|
|
|
'input/keyboard.c',
|
2017-12-27 10:08:18 -05:00
|
|
|
'commands/bind.c',
|
2017-11-30 03:39:27 -05:00
|
|
|
'commands/exit.c',
|
2017-12-04 22:43:49 +01:00
|
|
|
'commands/exec.c',
|
|
|
|
'commands/exec_always.c',
|
2017-12-05 18:47:57 +01:00
|
|
|
'commands/include.c',
|
2017-12-11 04:17:14 -05:00
|
|
|
'commands/input.c',
|
2017-12-14 11:11:56 -05:00
|
|
|
'commands/seat.c',
|
|
|
|
'commands/seat/attach.c',
|
2017-12-17 10:39:22 -05:00
|
|
|
'commands/seat/fallback.c',
|
2017-12-29 15:31:04 +01:00
|
|
|
'commands/set.c',
|
2017-12-11 04:17:14 -05:00
|
|
|
'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',
|
2017-12-15 05:22:51 -05:00
|
|
|
'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',
|
2017-12-06 12:36:06 +01:00
|
|
|
'commands/output.c',
|
2017-12-05 10:40:55 +01:00
|
|
|
'config.c',
|
2017-12-06 12:36:06 +01:00
|
|
|
'config/output.c',
|
2017-12-16 11:25:59 -05:00
|
|
|
'config/seat.c',
|
|
|
|
'config/input.c',
|
2017-11-30 03:39:27 -05:00
|
|
|
'ipc-json.c',
|
|
|
|
'ipc-server.c',
|
|
|
|
'desktop/output.c',
|
2017-12-03 14:21:26 -05:00
|
|
|
'desktop/wl_shell.c',
|
2017-11-30 03:39:27 -05:00
|
|
|
'desktop/xdg_shell_v6.c',
|
2017-12-04 06:19:36 -05:00
|
|
|
'desktop/xwayland.c',
|
2017-12-05 10:40:55 +01:00
|
|
|
'security.c',
|
2017-11-30 03:39:27 -05:00
|
|
|
'tree/container.c',
|
|
|
|
'tree/layout.c',
|
|
|
|
'tree/workspace.c',
|
|
|
|
)
|
|
|
|
|
|
|
|
sway_deps = [
|
|
|
|
pixman,
|
|
|
|
wayland_server,
|
|
|
|
jsonc,
|
|
|
|
wlroots,
|
|
|
|
libcap,
|
|
|
|
math,
|
2017-12-06 08:28:46 -05:00
|
|
|
libinput,
|
2017-12-10 13:59:04 -05:00
|
|
|
xkbcommon,
|
2017-11-30 03:39:27 -05:00
|
|
|
]
|
|
|
|
|
|
|
|
executable(
|
|
|
|
'sway',
|
|
|
|
sway_sources,
|
|
|
|
include_directories: [sway_inc],
|
2017-11-30 06:25:13 -05:00
|
|
|
dependencies: sway_deps,
|
2017-11-30 08:31:13 -05:00
|
|
|
link_with: [lib_sway_common],
|
|
|
|
install: true
|
2017-11-30 03:39:27 -05:00
|
|
|
)
|