2021-10-19 22:46:46 +02:00
|
|
|
project('somebar', ['c', 'cpp'],
|
2021-10-27 17:24:47 +02:00
|
|
|
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',
|
|
|
|
'src/main.cpp',
|
2021-10-20 20:20:27 +02:00
|
|
|
'src/shm_buffer.cpp',
|
2021-10-20 20:45:23 +02:00
|
|
|
'src/bar.cpp',
|
2021-10-19 22:46:46 +02:00
|
|
|
wayland_sources,
|
2021-10-27 17:24:47 +02:00
|
|
|
dependencies: [
|
|
|
|
wayland_dep,
|
|
|
|
wayland_cursor_dep,
|
|
|
|
cairo_dep,
|
|
|
|
pango_dep,
|
|
|
|
pangocairo_dep,
|
|
|
|
])
|