22 lines
557 B
Meson
22 lines
557 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',
|
|
'tree_iterator_test.cpp',
|
|
'small_object_allocator_test.cpp',
|
|
install: false,
|
|
dependencies: [sprout_dep, catch2_dep],
|
|
include_directories: [public_incl],
|
|
)
|
|
|
|
test('unit_' + meson.project_name(),
|
|
unit_test_prog,
|
|
)
|