thorvg/test/meson.build
Hermet Park de75c58b89 test: clean up test suites
Merge two separate units: SwCanvas and SwCanvasBase.
2024-05-18 18:10:50 +09:00

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