thorvg/test/meson.build
Hermet Park b0f258d531 test: improve the test-coverage.
make the lottie/text coverage up.

issue: https://github.com/thorvg/thorvg/issues/2067
2024-04-05 16:51:22 +09:00

33 lines
700 B
Meson

if (lib_type == 'static')
compiler_flags += ['-DTVG_STATIC']
endif
test_file = [
'testAccessor.cpp',
'testAnimation.cpp',
'testFill.cpp',
'testInitializer.cpp',
'testLottie.cpp',
'testMain.cpp',
'testPaint.cpp',
'testPicture.cpp',
'testSavers.cpp',
'testScene.cpp',
'testShape.cpp',
'testSwCanvas.cpp',
'testSwCanvasBase.cpp',
'testSwEngine.cpp',
'testText.cpp'
]
tests = executable('tvgUnitTests',
test_file,
include_directories : headers,
link_with : thorvg_lib,
cpp_args : compiler_flags)
test('Unit Tests', tests, args : ['--success'])
if get_option('bindings').contains('capi') == true
subdir('capi')
endif