28 lines
640 B
Meson
28 lines
640 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,
|
|
],
|
|
cpp_args: '-DSOMEBAR_VERSION="@0@"'.format(meson.project_version()))
|