mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
Use subdir
This commit is contained in:
parent
924bf0f669
commit
a2ba226ba3
7 changed files with 82 additions and 65 deletions
22
examples/meson.build
Normal file
22
examples/meson.build
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
lib_shared = static_library('shared',
|
||||
['shared.c', 'cat.c'],
|
||||
dependencies: dep_wlr)
|
||||
|
||||
all_libs = [
|
||||
lib_shared,
|
||||
lib_wlr,
|
||||
]
|
||||
|
||||
executable('simple', 'simple.c', link_with: all_libs)
|
||||
executable('rotation', 'rotation.c', link_with: all_libs)
|
||||
executable('pointer', 'pointer.c', link_with: all_libs)
|
||||
executable('touch', 'touch.c', link_with: all_libs)
|
||||
executable('tablet', 'tablet.c', link_with: all_libs)
|
||||
|
||||
compositor_src = [
|
||||
'compositor/main.c',
|
||||
'compositor/wl_compositor.c',
|
||||
'compositor/wl_shell.c',
|
||||
]
|
||||
|
||||
executable('compositor', compositor_src, link_with: all_libs)
|
||||
Loading…
Add table
Add a link
Reference in a new issue