aboutsummaryrefslogtreecommitdiff
path: root/examples/meson.build
blob: e2c0189c07d23279b875d6748149a6570c29786d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
lib_shared = static_library('shared',
  ['shared.c', 'cat.c'],
  dependencies: wlroots)

executable('simple', 'simple.c', dependencies: wlroots, link_with: lib_shared)
executable('rotation', 'rotation.c', dependencies: wlroots, link_with: lib_shared)
executable('pointer', 'pointer.c', dependencies: wlroots, link_with: lib_shared)
executable('touch', 'touch.c', dependencies: wlroots, link_with: lib_shared)
executable('tablet', 'tablet.c', dependencies: wlroots, link_with: lib_shared)
executable('output-layout', 'output-layout.c', dependencies: wlroots, link_with: lib_shared)

compositor_src = [
  'compositor/main.c',
  'compositor/wl_compositor.c',
]

executable('compositor', compositor_src,
  dependencies: wlroots,
  link_with: lib_shared)