chore: build a shared library
This commit is contained in:
parent
e2542d34ed
commit
00478c32cb
1 changed files with 22 additions and 0 deletions
22
meson.build
22
meson.build
|
@ -33,6 +33,28 @@ rt = cc.find_library('rt')
|
||||||
subdir('protocols')
|
subdir('protocols')
|
||||||
subdir('docs')
|
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(
|
executable(
|
||||||
'wmenu',
|
'wmenu',
|
||||||
files(
|
files(
|
||||||
|
|
Loading…
Add table
Reference in a new issue