mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 05:33:36 +00:00
39 lines
796 B
Meson
39 lines
796 B
Meson
engine_dep = []
|
|
|
|
if get_option('engines').contains('sw') == true
|
|
subdir('sw_engine')
|
|
endif
|
|
|
|
if get_option('engines').contains('gl') == true
|
|
subdir('gl_engine')
|
|
endif
|
|
|
|
source_file = [
|
|
'tvgCanvasImpl.h',
|
|
'tvgCommon.h',
|
|
'tvgBezier.h',
|
|
'tvgLoader.h',
|
|
'tvgLoaderMgr.h',
|
|
'tvgRender.h',
|
|
'tvgSceneImpl.h',
|
|
'tvgShapePath.h',
|
|
'tvgShapeImpl.h',
|
|
'tvgBezier.cpp',
|
|
'tvgCanvas.cpp',
|
|
'tvgFill.cpp',
|
|
'tvgGlCanvas.cpp',
|
|
'tvgInitializer.cpp',
|
|
'tvgLinearGradient.cpp',
|
|
'tvgLoaderMgr.cpp',
|
|
'tvgRadialGradient.cpp',
|
|
'tvgRender.cpp',
|
|
'tvgScene.cpp',
|
|
'tvgShape.cpp',
|
|
'tvgSwCanvas.cpp',
|
|
]
|
|
|
|
common_dep = declare_dependency(
|
|
dependencies : engine_dep,
|
|
include_directories : include_directories('.'),
|
|
sources : source_file
|
|
)
|