Waybar/test/meson.build

36 lines
585 B
Meson
Raw Normal View History

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