aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Zeni <simon@bl4ckb0ne.ca>2021-11-18 16:29:05 -0500
committerSimon Ser <contact@emersion.fr>2021-11-19 16:42:14 +0000
commit52c34e82539e1f09711046a3f1e1fdad100eb5c0 (patch)
tree419e4d5f54c3f878f6b1e09e7767a9eef65ace95
parente656697a7d6ad851cf299276287665f2aaf80369 (diff)
tinywl: build with meson if examples option is enabled
-rw-r--r--meson.build1
-rw-r--r--tinywl/meson.build5
2 files changed, 6 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index c546b74d..2f296949 100644
--- a/meson.build
+++ b/meson.build
@@ -180,6 +180,7 @@ summary(features + internal_features, bool_yn: true)
if get_option('examples')
subdir('examples')
+ subdir('tinywl')
endif
pkgconfig = import('pkgconfig')
diff --git a/tinywl/meson.build b/tinywl/meson.build
new file mode 100644
index 00000000..82d31d22
--- /dev/null
+++ b/tinywl/meson.build
@@ -0,0 +1,5 @@
+executable(
+ 'tinywl',
+ ['tinywl.c', protocols_client_header['xdg-shell']],
+ dependencies: wlroots,
+)