summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build27
1 files changed, 27 insertions, 0 deletions
diff --git a/meson.build b/meson.build
new file mode 100644
index 0000000..3dd9fb5
--- /dev/null
+++ b/meson.build
@@ -0,0 +1,27 @@
+project(
+ 'wayland-sandbox',
+ ['cpp', 'c'],
+ version: '0.1.0',
+ default_options: ['warning_level=3', 'cpp_std=c++23']
+)
+
+wayland = import('unstable-wayland')
+
+wayland_security_context = wayland.scan_xml(
+ wayland.find_protocol('security-context', state: 'staging', version: 1)
+)
+
+wayland_client = dependency('wayland-client')
+
+sources = files(
+ 'src/main.cpp'
+)
+
+sources += wayland_security_context
+
+executable(
+ 'wayland-sandbox',
+ sources,
+ dependencies: wayland_client,
+ install: true
+)