somebar/meson.build
2021-10-29 20:36:30 +02:00

30 lines
653 B
Meson

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()))