thorvg/test/meson.build
Jinny You fb20938b14 test: Added test code for the lottie slot
This patch adds the test case for the recently introduced lottie slot API.

@Issues: https://github.com/thorvg/thorvg/issues/2029
2024-04-06 12:08:21 +09:00

32 lines
681 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',
]
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