2017-08-30 18:30:47 +00:00
|
|
|
lib_shared = static_library(
|
|
|
|
'shared',
|
2017-11-01 19:47:58 +00:00
|
|
|
['support/shared.c', 'support/cat.c', 'support/ini.c', 'support/config.c'],
|
2017-08-30 18:30:47 +00:00
|
|
|
dependencies: wlroots,
|
2017-11-01 19:47:58 +00:00
|
|
|
include_directories: include_directories('support')
|
2017-08-30 18:30:47 +00:00
|
|
|
)
|
2017-07-17 18:38:28 +00:00
|
|
|
|
2018-01-07 19:42:33 +00:00
|
|
|
threads = dependency('threads')
|
2018-03-30 21:26:58 +00:00
|
|
|
wayland_cursor = dependency('wayland-cursor')
|
2018-01-07 19:42:33 +00:00
|
|
|
|
2017-08-11 13:37:09 +00: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 19:03:56 +00:00
|
|
|
executable('multi-pointer', 'multi-pointer.c', dependencies: wlroots,
|
|
|
|
link_with: lib_shared)
|
2017-08-09 17:25:52 +00:00
|
|
|
|
2017-08-30 18:30:47 +00: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 16:09:09 +00:00
|
|
|
|
|
|
|
executable(
|
|
|
|
'screenshot',
|
|
|
|
'screenshot.c',
|
2017-11-30 14:00:36 +00:00
|
|
|
dependencies: [wayland_client, wlr_protos, wlroots],
|
|
|
|
link_with: lib_shared,
|
2017-09-08 16:09:09 +00:00
|
|
|
)
|
2018-01-07 19:42:33 +00:00
|
|
|
|
|
|
|
executable(
|
|
|
|
'idle',
|
|
|
|
'idle.c',
|
|
|
|
dependencies: [wayland_client, wlr_protos, wlroots, threads],
|
|
|
|
link_with: lib_shared,
|
|
|
|
)
|
2018-02-17 10:02:00 +00:00
|
|
|
|
|
|
|
executable(
|
|
|
|
'idle-inhibit',
|
|
|
|
'idle-inhibit.c',
|
|
|
|
dependencies: [wayland_client, wlr_protos, wlroots, threads],
|
|
|
|
link_with: lib_shared,
|
|
|
|
)
|
2018-03-18 19:09:37 +00:00
|
|
|
|
|
|
|
executable(
|
|
|
|
'layer-shell',
|
|
|
|
'layer-shell.c',
|
2018-03-30 21:26:58 +00:00
|
|
|
dependencies: [wayland_cursor, wayland_client, wlr_protos, wlroots]
|
2018-03-18 19:09:37 +00:00
|
|
|
)
|
2018-04-03 15:29:32 +00:00
|
|
|
|
|
|
|
executable(
|
|
|
|
'input-inhibitor',
|
|
|
|
'input-inhibitor.c',
|
|
|
|
dependencies: [wayland_cursor, wayland_client, wlr_protos, wlroots]
|
|
|
|
)
|