diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2017-11-30 03:39:27 -0500 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2017-11-30 03:39:27 -0500 |
| commit | 9f449dfa66c68f616c4280dd3c8c54501f557433 (patch) | |
| tree | 7cb3d493be3e01752e345bdba29ea3ba2842c4ae /meson.build | |
| parent | 35fc2ab62b532d3c8318cd7026cf7b4fe4d28a44 (diff) | |
use meson subdirectories
Diffstat (limited to 'meson.build')
| -rw-r--r-- | meson.build | 35 |
1 files changed, 2 insertions, 33 deletions
diff --git a/meson.build b/meson.build index 06eed97f..a28e1097 100644 --- a/meson.build +++ b/meson.build @@ -30,37 +30,6 @@ add_project_arguments('-DSWAY_VERSION="5"', language: 'c') sway_inc = include_directories('include') -sway_sources = [ - 'sway/main.c', - 'sway/server.c', - 'sway/commands.c', - 'sway/commands/exit.c', - 'sway/ipc-json.c', - 'sway/ipc-server.c', - 'sway/desktop/output.c', - 'sway/desktop/xdg_shell_v6.c', - 'sway/tree/container.c', - 'sway/tree/layout.c', - 'sway/tree/workspace.c', - 'common/log.c', - 'common/list.c', - 'common/stringop.c', - 'common/readline.c', - 'common/ipc-client.c', -] +subdir('common') +subdir('sway') -sway_deps = [ - pixman, - wayland_server, - jsonc, - wlroots, - libcap, - math, -] - -executable( - 'sway', - sway_sources, - include_directories: [sway_inc], - dependencies: sway_deps -) |
