aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meson.build1
-rw-r--r--swaymsg/meson.build8
2 files changed, 9 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 34122acc..1c322131 100644
--- a/meson.build
+++ b/meson.build
@@ -81,6 +81,7 @@ sway_inc = include_directories('include')
subdir('common')
subdir('sway')
+subdir('swaymsg')
config = configuration_data()
config.set('sysconfdir', join_paths(prefix, sysconfdir))
diff --git a/swaymsg/meson.build b/swaymsg/meson.build
new file mode 100644
index 00000000..2d678878
--- /dev/null
+++ b/swaymsg/meson.build
@@ -0,0 +1,8 @@
+executable(
+ 'swaymsg',
+ 'main.c',
+ include_directories: [sway_inc],
+ dependencies: [jsonc],
+ link_with: [lib_sway_common],
+ install: true
+)