wlroots/examples/meson.build

58 lines
1.3 KiB
Meson
Raw Normal View History

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'],
dependencies: wlroots,
2017-11-01 19:47:58 +00:00
include_directories: include_directories('support')
)
2017-07-17 18:38:28 +00:00
threads = dependency('threads')
wayland_cursor = dependency('wayland-cursor')
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)
executable(
'rotation',
'rotation.c',
dependencies: wlroots,
link_with: lib_shared,
)
executable(
'output-layout',
'output-layout.c',
dependencies: wlroots,
link_with: lib_shared,
)
executable(
'screenshot',
'screenshot.c',
dependencies: [wayland_client, wlr_protos, wlroots],
link_with: lib_shared,
)
executable(
'idle',
'idle.c',
dependencies: [wayland_client, wlr_protos, wlroots, threads],
link_with: lib_shared,
)
executable(
'idle-inhibit',
'idle-inhibit.c',
dependencies: [wayland_client, wlr_protos, wlroots, threads],
link_with: lib_shared,
)
executable(
'layer-shell',
'layer-shell.c',
dependencies: [wayland_cursor, wayland_client, wlr_protos, wlroots]
)