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