mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 13:43:43 +00:00
65 lines
1.4 KiB
Meson
65 lines
1.4 KiB
Meson
examples_dep = dependency('elementary', required : true)
|
|
|
|
source_file = [
|
|
'AnimateMasking.cpp',
|
|
'Arc.cpp',
|
|
'Async.cpp',
|
|
'Blending.cpp',
|
|
'Boundary.cpp',
|
|
'ClipPath.cpp',
|
|
'CustomTransform.cpp',
|
|
'DirectUpdate.cpp',
|
|
'Duplicate.cpp',
|
|
'FillRule.cpp',
|
|
'GradientMasking.cpp',
|
|
'GradientStroke.cpp',
|
|
'GradientTransform.cpp',
|
|
'InvMasking.cpp',
|
|
'LinearGradient.cpp',
|
|
'Masking.cpp',
|
|
'MultiCanvas.cpp',
|
|
'MultiShapes.cpp',
|
|
'Opacity.cpp',
|
|
'PathCopy.cpp',
|
|
'Path.cpp',
|
|
'PictureJpg.cpp',
|
|
'PicturePng.cpp',
|
|
'PictureRaw.cpp',
|
|
'PictureTvg.cpp',
|
|
'RadialGradient.cpp',
|
|
'Scene.cpp',
|
|
'SceneTransform.cpp',
|
|
'Shape.cpp',
|
|
'Stacking.cpp',
|
|
'Stress.cpp',
|
|
'Stroke.cpp',
|
|
'StrokeLine.cpp',
|
|
'Svg.cpp',
|
|
'Svg2.cpp',
|
|
'Transform.cpp',
|
|
'TvgSaver.cpp',
|
|
'Update.cpp',
|
|
]
|
|
|
|
foreach current_file : source_file
|
|
name = current_file.split('.')[0]
|
|
executable(name, current_file,
|
|
include_directories : headers,
|
|
link_with : thorvg_lib,
|
|
dependencies : examples_dep)
|
|
endforeach
|
|
|
|
|
|
if get_option('bindings').contains('capi') == true
|
|
capi_source_file = [
|
|
'Capi.cpp'
|
|
]
|
|
|
|
foreach current_file : capi_source_file
|
|
name = current_file.split('.')[0]
|
|
executable(name, current_file,
|
|
include_directories : headers,
|
|
link_with : thorvg_lib,
|
|
dependencies : examples_dep)
|
|
endforeach
|
|
endif
|