thorvg/test
Vincent Torri be2de28312 portability: fix usage of TVG_API
Rule of thumb on Windows:
  * for a DLL:
    * if the library is built, set TVG_API to __declspec(dllexport)
    * if the library is used, set TVG_API to __declspec(dllimport)
  * for a static library, set TVG_API to nothing

To set TVG_API for a static library, TVG_STATIC is defined when the stataic library is built.
Otherwise, TVG_API is correctly set for a DLL.
Also sun and intel compilers are handled

@issue: https://github.com/thorvg/thorvg/issues/1446
2023-05-16 18:55:33 +09:00
..
capi test_capi: Add missing *_del api 2023-05-10 21:05:26 +09:00
images test: updated tvg binaries. 2023-05-12 17:53:10 +09:00
regression infra: Improve regression finder 2023-05-08 10:38:27 +09:00
wasm test: remove gtest & its infra. 2021-06-03 17:38:07 +09:00
catch.hpp test: upgrade catch2 2023-01-30 13:28:44 +09:00
meson.build portability: fix usage of TVG_API 2023-05-16 18:55:33 +09:00
testAccessor.cpp test: fix broken plugin support. 2023-04-06 19:47:10 +09:00
testFill.cpp common: code refactoring 2023-05-15 12:07:55 +09:00
testInitializer.cpp test: fix broken plugin support. 2023-04-06 19:47:10 +09:00
testMain.cpp tests: introduce catch2 unit tests infrastructure. 2021-06-04 16:46:34 +09:00
testPaint.cpp common: code refactoring 2023-05-15 12:07:55 +09:00
testPicture.cpp common: code refactoring 2023-05-15 12:07:55 +09:00
testSavers.cpp test: fix broken plugin support. 2023-04-06 19:47:10 +09:00
testScene.cpp test: fix broken plugin support. 2023-04-06 19:47:10 +09:00
testShape.cpp test: fix broken plugin support. 2023-04-06 19:47:10 +09:00
testSwCanvas.cpp test: fix broken plugin support. 2023-04-06 19:47:10 +09:00
testSwCanvasBase.cpp test: fix broken plugin support. 2023-04-06 19:47:10 +09:00
testSwEngine.cpp common: code refactoring 2023-05-15 12:07:55 +09:00