20 lines
474 B
Meson
20 lines
474 B
Meson
|
catch2_dep = dependency('Catch2', fallback: ['Catch2', 'catch2_dep'])
|
||
|
|
||
|
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',
|
||
|
install: false,
|
||
|
dependencies: [sprout_dep, catch2_dep],
|
||
|
include_directories: [public_incl],
|
||
|
)
|
||
|
|
||
|
test('unit_' + meson.project_name(),
|
||
|
unit_test_prog,
|
||
|
)
|