2021-10-19 20:46:46 +00:00
|
|
|
project('somebar', ['c', 'cpp'],
|
|
|
|
default_options: ['cpp_std=c++17'])
|
|
|
|
|
|
|
|
wayland_dep = dependency('wayland-client')
|
|
|
|
qt5 = import('qt5')
|
|
|
|
qt5_dep = dependency('qt5', modules: ['Core', 'Widgets'])
|
|
|
|
#moc = qt5.compile_moc(headers: [ 'src/.hpp', ])
|
|
|
|
|
|
|
|
subdir('protocols')
|
|
|
|
|
|
|
|
executable('somebar',
|
|
|
|
'src/main.cpp',
|
2021-10-20 18:20:27 +00:00
|
|
|
'src/shm_buffer.cpp',
|
2021-10-20 18:45:23 +00:00
|
|
|
'src/bar.cpp',
|
2021-10-20 19:09:19 +00:00
|
|
|
'src/bar_widget.cpp',
|
2021-10-19 20:46:46 +00:00
|
|
|
wayland_sources,
|
|
|
|
#moc,
|
|
|
|
dependencies: [qt5_dep, wayland_dep])
|