diff options
| author | stkhan <personal@slickd.xyz> | 2023-03-31 19:42:29 -0500 |
|---|---|---|
| committer | stkhan <personal@slickd.xyz> | 2023-03-31 19:42:29 -0500 |
| commit | 0e71af11a27631e45c0160842e4498507420eff0 (patch) | |
| tree | 4eed4eba5b0273f26bc55243cce36a2670ac0fef /wm/somebar/meson.build | |
| parent | 07afc07ffff324f3a355f2437bd643b616fe0af4 (diff) | |
bar and blocks
Diffstat (limited to 'wm/somebar/meson.build')
| -rw-r--r-- | wm/somebar/meson.build | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/wm/somebar/meson.build b/wm/somebar/meson.build new file mode 100644 index 0000000..6ad5a0f --- /dev/null +++ b/wm/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') |