summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Turner <jturner.usa@gmail.com>2025-02-27 08:04:11 -0500
committerJohn Turner <jturner.usa@gmail.com>2025-02-27 08:04:11 -0500
commit448414acc00bc19f6e85d04f9130e13e84368f5e (patch)
tree855fe863ff69910de1f1f14fa5202ba678107240
downloadwayland-sandbox-448414acc00bc19f6e85d04f9130e13e84368f5e.tar.gz
init
-rw-r--r--meson.build27
-rw-r--r--src/main.cpp0
2 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
+)
diff --git a/src/main.cpp b/src/main.cpp
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/src/main.cpp