From 00478c32cb29fdd6d00b2e343b2e96301b885bf3 Mon Sep 17 00:00:00 2001 From: rowan Date: Fri, 24 Jan 2025 21:29:47 -0600 Subject: [PATCH] chore: build a shared library --- meson.build | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/meson.build b/meson.build index a3b507d..edce139 100644 --- a/meson.build +++ b/meson.build @@ -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(