From: John Turner Date: Thu, 27 Feb 2025 13:04:11 +0000 (-0500) Subject: init X-Git-Url: https://jturnerusa.dev/gitweb/?a=commitdiff_plain;h=448414acc00bc19f6e85d04f9130e13e84368f5e;p=wayland-sandbox init --- 448414acc00bc19f6e85d04f9130e13e84368f5e 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