aboutsummaryrefslogtreecommitdiff
path: root/examples/meson.build
blob: 152453ae60b50c4679c57581d1fc69ab32a63af3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
lib_shared = static_library('shared',
    ['shared.c', 'cat.c'],
    link_with: lib_wlr,
    dependencies: dep_wlr)

all_libs = [
    lib_shared,
    lib_wlr,
]

executable('simple', 'simple.c', link_with: all_libs)
executable('rotation', 'rotation.c', link_with: all_libs)
executable('pointer', 'pointer.c', link_with: all_libs)
executable('touch', 'touch.c', link_with: all_libs)
executable('tablet', 'tablet.c', link_with: all_libs)

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

executable('compositor', compositor_src, link_with: all_libs)