use meson subdirectories

This commit is contained in:
Tony Crisci 2017-11-30 03:39:27 -05:00
parent ba6246ada1
commit 88cc7e3178
3 changed files with 39 additions and 33 deletions

29
sway/meson.build Normal file
View file

@ -0,0 +1,29 @@
sway_sources = sway_common + files(
'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],
dependencies: sway_deps
)