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')
|
2021-10-22 15:34:19 +02:00
|
|
|
qt5_dep = dependency('qt5', modules: ['Core', 'Gui'])
|
2021-10-19 22:46:46 +02:00
|
|
|
#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-19 22:46:46 +02:00
|
|
|
wayland_sources,
|
|
|
|
#moc,
|
|
|
|
dependencies: [qt5_dep, wayland_dep])
|