somebar/meson.build

32 lines
679 B
Meson
Raw Permalink Normal View History

2021-10-19 20:46:46 +00:00
project('somebar', ['c', 'cpp'],
2021-10-29 18:33:27 +00:00
version: '0.1.0',
default_options: [
'cpp_std=c++17',
'cpp_args=-Wno-parentheses',
])
2021-10-19 20:46:46 +00:00
wayland_dep = dependency('wayland-client')
2021-10-22 15:34:21 +00:00
wayland_cursor_dep = dependency('wayland-cursor')
2021-10-27 15:24:47 +00:00
cairo_dep = dependency('cairo')
pango_dep = dependency('pango')
pangocairo_dep = dependency('pangocairo')
2021-10-19 20:46:46 +00:00
subdir('protocols')
executable('somebar',
2021-10-29 18:33:27 +00:00
'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()))
2022-04-21 19:51:30 +00:00
install_man('somebar.1')