2021-08-14 01:33:24 +00:00
|
|
|
test_inc = include_directories('../include')
|
2024-05-29 02:52:54 +00:00
|
|
|
|
2021-08-14 01:33:24 +00:00
|
|
|
test_dep = [
|
|
|
|
catch2,
|
|
|
|
fmt,
|
2020-12-29 01:28:03 +00:00
|
|
|
gtkmm,
|
2021-08-14 01:33:24 +00:00
|
|
|
jsoncpp,
|
|
|
|
spdlog,
|
|
|
|
]
|
2024-05-29 02:52:54 +00:00
|
|
|
|
2022-01-08 03:32:18 +00:00
|
|
|
test_src = files(
|
2022-01-08 02:59:08 +00:00
|
|
|
'main.cpp',
|
2021-08-14 01:33:24 +00:00
|
|
|
'config.cpp',
|
|
|
|
'../src/config.cpp',
|
2022-01-08 03:32:18 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
waybar_test = executable(
|
|
|
|
'waybar_test',
|
|
|
|
test_src,
|
2021-08-14 01:33:24 +00:00
|
|
|
dependencies: test_dep,
|
|
|
|
include_directories: test_inc,
|
|
|
|
)
|
|
|
|
|
2020-12-29 01:28:03 +00:00
|
|
|
test(
|
2022-01-08 02:59:08 +00:00
|
|
|
'waybar',
|
|
|
|
waybar_test,
|
2024-02-17 07:59:38 +00:00
|
|
|
workdir: meson.project_source_root(),
|
2020-12-29 01:28:03 +00:00
|
|
|
)
|
2024-05-29 02:52:54 +00:00
|
|
|
|
2024-06-09 03:30:01 +00:00
|
|
|
subdir('utils')
|
2024-05-29 02:52:54 +00:00
|
|
|
subdir('hyprland')
|