summaryrefslogtreecommitdiff
path: root/somebar/meson.build
diff options
context:
space:
mode:
authortslil clingman <tslil@posteo.de>2023-02-12 09:57:55 +0100
committertslil clingman <tslil@posteo.de>2023-02-12 09:57:55 +0100
commit85afc067bc8adeaee9269bfbc8cb27230bd78896 (patch)
treee85aa8759efcd73b31a432ba437decb097f026d3 /somebar/meson.build
parent67a0b90589cbd2f7e61d307b9aaa57f450df0e47 (diff)
[somebar] tracking local build
Diffstat (limited to 'somebar/meson.build')
-rw-r--r--somebar/meson.build31
1 files changed, 31 insertions, 0 deletions
diff --git a/somebar/meson.build b/somebar/meson.build
new file mode 100644
index 0000000..6ad5a0f
--- /dev/null
+++ b/somebar/meson.build
@@ -0,0 +1,31 @@
+project('somebar', ['c', 'cpp'],
+ version: '0.1.0',
+ default_options: [
+ 'cpp_std=c++17',
+ 'cpp_args=-Wno-parentheses',
+ ])
+
+wayland_dep = dependency('wayland-client')
+wayland_cursor_dep = dependency('wayland-cursor')
+cairo_dep = dependency('cairo')
+pango_dep = dependency('pango')
+pangocairo_dep = dependency('pangocairo')
+
+subdir('protocols')
+
+executable('somebar',
+ 'src/main.cpp',
+ 'src/shm_buffer.cpp',
+ 'src/bar.cpp',
+ wayland_sources,
+ dependencies: [
+ wayland_dep,
+ wayland_cursor_dep,
+ cairo_dep,
+ pango_dep,
+ pangocairo_dep,
+ ],
+ install: true,
+ cpp_args: '-DSOMEBAR_VERSION="@0@"'.format(meson.project_version()))
+
+install_man('somebar.1')