2021-10-19 22:46:46 +02: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 20:20:27 +02:00
|
|
|
'src/shm_buffer.cpp',
|
2021-10-20 20:45:23 +02:00
|
|
|
'src/bar.cpp',
|
2021-10-20 21:09:19 +02:00
|
|
|
'src/bar_widget.cpp',
|
2021-10-19 22:46:46 +02:00
|
|
|
wayland_sources,
|
|
|
|
#moc,
|
|
|
|
dependencies: [qt5_dep, wayland_dep])
|