2017-08-30 20:30:47 +02:00
|
|
|
lib_shared = static_library(
|
|
|
|
'shared',
|
2017-11-01 20:47:58 +01:00
|
|
|
['support/shared.c', 'support/cat.c', 'support/ini.c', 'support/config.c'],
|
2017-08-30 20:30:47 +02:00
|
|
|
dependencies: wlroots,
|
2017-11-01 20:47:58 +01:00
|
|
|
include_directories: include_directories('support')
|
2017-08-30 20:30:47 +02:00
|
|
|
)
|
2017-07-17 20:38:28 +02:00
|
|
|
|
2018-01-07 20:42:33 +01:00
|
|
|
threads = dependency('threads')
|
|
|
|
|
2017-08-11 15:37:09 +02:00
|
|
|
executable('simple', 'simple.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-10-29 20:03:56 +01:00
|
|
|
executable('multi-pointer', 'multi-pointer.c', dependencies: wlroots,
|
|
|
|
link_with: lib_shared)
|
2017-08-09 19:25:52 +02:00
|
|
|
|
2017-08-30 20:30:47 +02:00
|
|
|
executable(
|
|
|
|
'rotation',
|
|
|
|
'rotation.c',
|
|
|
|
dependencies: wlroots,
|
|
|
|
link_with: lib_shared,
|
|
|
|
)
|
|
|
|
|
|
|
|
executable(
|
|
|
|
'output-layout',
|
|
|
|
'output-layout.c',
|
|
|
|
dependencies: wlroots,
|
|
|
|
link_with: lib_shared,
|
|
|
|
)
|
2017-09-08 18:09:09 +02:00
|
|
|
|
|
|
|
executable(
|
|
|
|
'screenshot',
|
|
|
|
'screenshot.c',
|
2017-11-30 15:00:36 +01:00
|
|
|
dependencies: [wayland_client, wlr_protos, wlroots],
|
|
|
|
link_with: lib_shared,
|
2017-09-08 18:09:09 +02:00
|
|
|
)
|
2018-01-07 20:42:33 +01:00
|
|
|
|
|
|
|
executable(
|
|
|
|
'idle',
|
|
|
|
'idle.c',
|
|
|
|
dependencies: [wayland_client, wlr_protos, wlroots, threads],
|
|
|
|
link_with: lib_shared,
|
|
|
|
)
|