mirror of
https://github.com/likle/cwalk.git
synced 2026-10-28 09:44:01 +00:00
* adds `ENABLE_TESTS` option to meson project * adds conditional compilation of `cwalktest` executable * registers `cwalktest` test with meson project
24 lines
492 B
Meson
24 lines
492 B
Meson
cwalktest_sources = files(
|
|
'main.c',
|
|
'absolute_test.c',
|
|
'basename_test.c',
|
|
'dirname_test.c',
|
|
'extension_test.c',
|
|
'guess_test.c',
|
|
'intersection_test.c',
|
|
'is_absolute_test.c',
|
|
'is_relative_test.c',
|
|
'join_test.c',
|
|
'normalize_test.c',
|
|
'relative_test.c',
|
|
'root_test.c',
|
|
'segment_test.c',
|
|
'windows_test.c',
|
|
)
|
|
|
|
cwalktest = executable('cwalktest',
|
|
sources: cwalktest_sources,
|
|
dependencies: cwalk_dep,
|
|
)
|
|
test('cwalktest', cwalktest)
|