waybar/test/meson.build

36 lines
585 B
Meson
Raw Normal View History

2021-08-14 03:33:24 +02:00
test_inc = include_directories('../include')
test_dep = [
catch2,
fmt,
gtkmm,
2021-08-14 03:33:24 +02:00
jsoncpp,
spdlog,
]
config_test = executable(
'config_test',
'config.cpp',
'../src/config.cpp',
dependencies: test_dep,
include_directories: test_inc,
)
safesignal_test = executable(
'safesignal_test',
'SafeSignal.cpp',
dependencies: test_dep,
include_directories: test_inc,
)
2021-08-14 03:33:24 +02:00
test(
'Configuration test',
config_test,
workdir: meson.source_root(),
)
test(
'SafeSignal test',
safesignal_test,
workdir: meson.source_root(),
)