chore: build a shared library

This commit is contained in:
Rowan 2025-01-24 21:29:47 -06:00
parent e2542d34ed
commit 00478c32cb

View file

@ -33,6 +33,28 @@ rt = cc.find_library('rt')
subdir('protocols')
subdir('docs')
shared_library(
'wmenu',
files(
'menu.c',
'pango.c',
'pool-buffer.c',
'render.c',
'wayland.c',
'wmenu.c',
),
dependencies: [
cairo,
client_protos,
pango,
pangocairo,
rt,
wayland_client,
wayland_protos,
xkbcommon,
],
)
executable(
'wmenu',
files(