aboutsummaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authoradnano <me@adnano.co>2024-05-02 21:39:54 -0400
committeradnano <me@adnano.co>2024-05-02 21:39:54 -0400
commit41e8599392a543a537f15447e20fd7bc8d8f2297 (patch)
treee14de0c571a1653968cc383d8a9b1c3cd7726c06 /meson.build
parent1f221a73cf290ff509ef6c066ff692bb48f8625e (diff)
downloadwmenu-41e8599392a543a537f15447e20fd7bc8d8f2297.tar.gz
Add wmenu-run executable
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build25
1 files changed, 24 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index fc4a2c0..552e1f8 100644
--- a/meson.build
+++ b/meson.build
@@ -38,12 +38,35 @@ install_data('wmenu_run', install_dir: get_option('bindir'))
executable(
'wmenu',
files(
- 'main.c',
'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,
+ ],
+ install: true,
+)
+
+executable(
+ 'wmenu-run',
+ files(
+ 'menu.c',
+ 'pango.c',
+ 'pool-buffer.c',
+ 'render.c',
+ 'wayland.c',
+ 'wmenu-run.c',
),
dependencies: [
cairo,