thorvg/test/capi/meson.build
Hermet Park 69063d2405 infra: specify TVG_API for both static/dynamic linking.
The previous meson script was incomplete,
therefore this change requires it to be revised.

To enable static linking use the next meson option.
"-Ddefault_library=static"

Issue: https://github.com/thorvg/thorvg/issues/1234
2023-04-22 18:32:22 +09:00

21 lines
442 B
Meson

test_file = [
'capiInitializer.cpp',
'capiFill.cpp',
'capiLinearGradient.cpp',
'capiMain.cpp',
'capiPaint.cpp',
'capiPicture.cpp',
'capiRadialGradient.cpp',
'capiSavers.cpp',
'capiScene.cpp',
'capiShape.cpp',
'capiSwCanvas.cpp',
]
tests = executable('capiUnitTests',
test_file,
include_directories : headers,
link_with : thorvg_lib,
cpp_args : compiler_flags)
test('Capi Unit Tests', tests)