wlroots/examples/meson.build

18 lines
689 B
Meson
Raw Normal View History

2017-07-17 18:38:28 +00:00
lib_shared = static_library('shared',
['shared.c', 'cat.c'],
dependencies: dep_wlr)
executable('simple', 'simple.c', dependencies: dep_wlr, link_with: lib_shared)
executable('rotation', 'rotation.c', dependencies: dep_wlr, link_with: lib_shared)
executable('pointer', 'pointer.c', dependencies: dep_wlr, link_with: lib_shared)
executable('touch', 'touch.c', dependencies: dep_wlr, link_with: lib_shared)
executable('tablet', 'tablet.c', dependencies: dep_wlr, link_with: lib_shared)
compositor_src = [
'compositor/main.c',
'compositor/wl_compositor.c',
2017-08-09 13:58:10 +00:00
'compositor/wl_shell.c'
2017-07-17 18:38:28 +00:00
]
executable('compositor', compositor_src, dependencies: dep_wlr, link_with: lib_shared)