wlroots/examples/meson.build

20 lines
750 B
Meson
Raw Normal View History

2017-07-17 18:38:28 +00:00
lib_shared = static_library('shared',
2017-08-13 12:26:32 +00:00
['shared.c', 'cat.c'],
dependencies: wlroots)
2017-07-17 18:38:28 +00:00
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)
2017-07-17 18:38:28 +00:00
compositor_src = [
2017-08-13 12:26:32 +00:00
'compositor/main.c',
'compositor/wl_compositor.c',
2017-07-17 18:38:28 +00:00
]
executable('compositor', compositor_src,
2017-08-13 12:26:32 +00:00
dependencies: wlroots,
link_with: lib_shared)