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
|
|
|
|
2017-08-11 13:37:09 +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)
|
2017-08-09 17:25:52 +00:00
|
|
|
|
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
|
|
|
]
|
|
|
|
|
2017-08-11 13:37:09 +00:00
|
|
|
executable('compositor', compositor_src,
|
2017-08-13 12:26:32 +00:00
|
|
|
dependencies: wlroots,
|
|
|
|
link_with: lib_shared)
|