thorvg/src/examples/meson.build
Hermet Park bccb1d29e3 examples: split Tvg to TvgSaver, PictureTvg
We'd like to clearly split showcases TvgSaver & Picture.
2021-07-20 14:10:05 +09:00

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