2017-07-17 20:38:28 +02:00
|
|
|
lib_shared = static_library('shared',
|
2017-08-13 14:26:32 +02:00
|
|
|
['shared.c', 'cat.c'],
|
|
|
|
dependencies: wlroots)
|
2017-07-17 20:38:28 +02:00
|
|
|
|
2017-08-11 15:37:09 +02: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 19:25:52 +02:00
|
|
|
|
2017-07-17 20:38:28 +02:00
|
|
|
compositor_src = [
|
2017-08-13 14:26:32 +02:00
|
|
|
'compositor/main.c',
|
|
|
|
'compositor/wl_compositor.c',
|
2017-07-17 20:38:28 +02:00
|
|
|
]
|
|
|
|
|
2017-08-11 15:37:09 +02:00
|
|
|
executable('compositor', compositor_src,
|
2017-08-13 14:26:32 +02:00
|
|
|
dependencies: wlroots,
|
|
|
|
link_with: lib_shared)
|