duckhandy/test/unit/meson.build
2025-08-23 12:35:08 +01:00

20 lines
492 B
Meson

catch2_dep = dependency('catch2-with-main', version: '>=3.5.2')
unit_test_prog = executable(meson.project_name(),
'int_conv_test.cpp',
'main.cpp',
'endianness_test.cpp',
'reversed_sized_array_test.cpp',
'bitfield_pack_test.cpp',
'resource_pool_test.cpp',
'version_test.cpp',
'tiger_test.cpp',
'infix_iterator.cpp',
install: false,
dependencies: [sprout_dep, catch2_dep],
include_directories: [public_incl],
)
test('unit_' + meson.project_name(),
unit_test_prog,
)