mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
29 lines
636 B
Meson
29 lines
636 B
Meson
rcxml_lib = static_library(
|
|
'rcxml',
|
|
sources: files(
|
|
'../src/config/rcxml.c',
|
|
'../src/config/keybind.c',
|
|
'../src/config/config-dir.c',
|
|
'../src/common/buf.c'
|
|
),
|
|
dependencies: [xml2, wayland_server, xkbcommon, glib, wlroots],
|
|
include_directories: [labwc_inc],
|
|
)
|
|
|
|
rcxml_tests = [
|
|
't1000-rcxml-simple-parse.c',
|
|
't1001-rcxml-nodenames-simple.c',
|
|
]
|
|
|
|
foreach t : rcxml_tests
|
|
testname = t.split('.')[0].underscorify()
|
|
exe = executable(
|
|
testname,
|
|
sources: [t, 'tap.c'],
|
|
dependencies: [wlroots],
|
|
include_directories: [labwc_inc],
|
|
link_with: [rcxml_lib],
|
|
)
|
|
test(testname, exe)
|
|
endforeach
|
|
|