33 lines
495 B
Meson
33 lines
495 B
Meson
test_inc = include_directories('../include')
|
|
test_dep = [
|
|
catch2,
|
|
fmt,
|
|
gtkmm,
|
|
jsoncpp,
|
|
spdlog,
|
|
]
|
|
test_src = files(
|
|
'main.cpp',
|
|
'SafeSignal.cpp',
|
|
'config.cpp',
|
|
'../src/config.cpp',
|
|
)
|
|
|
|
if tz_dep.found()
|
|
test_dep += tz_dep
|
|
test_src += files('date.cpp')
|
|
endif
|
|
|
|
waybar_test = executable(
|
|
'waybar_test',
|
|
test_src,
|
|
dependencies: test_dep,
|
|
include_directories: test_inc,
|
|
)
|
|
|
|
test(
|
|
'waybar',
|
|
waybar_test,
|
|
workdir: meson.source_root(),
|
|
)
|