summaryrefslogtreecommitdiff
path: root/meson.build
blob: 3dd9fb53c13c8b4ea1efd511bc97e97573042b3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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
)