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