aboutsummaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2017-11-30 03:39:27 -0500
committerTony Crisci <tony@dubstepdish.com>2017-11-30 03:39:27 -0500
commit88cc7e31781a0d42bdd4f9eee646c02ff03857c4 (patch)
tree7cb3d493be3e01752e345bdba29ea3ba2842c4ae /sway
parentba6246ada199beafdc9c3585000bf9f59e4e91f8 (diff)
downloadsway-88cc7e31781a0d42bdd4f9eee646c02ff03857c4.tar.xz
use meson subdirectories
Diffstat (limited to 'sway')
-rw-r--r--sway/meson.build29
1 files changed, 29 insertions, 0 deletions
diff --git a/sway/meson.build b/sway/meson.build
new file mode 100644
index 00000000..1f17ed31
--- /dev/null
+++ b/sway/meson.build
@@ -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
+)