503c35e9296acdcf288d25b224a1c76371facae0
[platform/core/graphics/tizenvg.git] / src / lib / meson.build
1 engine_dep = []
2
3 if get_option('engines').contains('sw') == true
4     subdir('sw_engine')
5     message('Enable SW Raster Engine')
6 endif
7
8 if get_option('engines').contains('gl') == true
9     subdir('gl_engine')
10     message('Enable GL Raster Engine')
11 endif
12
13 source_file = [
14    'tvgCanvasImpl.h',
15    'tvgCommon.h',
16    'tvgBezier.h',
17    'tvgLoader.h',
18    'tvgLoaderMgr.h',
19    'tvgPictureImpl.h',
20    'tvgRender.h',
21    'tvgSceneImpl.h',
22    'tvgShapePath.h',
23    'tvgShapeImpl.h',
24    'tvgBezier.cpp',
25    'tvgCanvas.cpp',
26    'tvgFill.cpp',
27    'tvgGlCanvas.cpp',
28    'tvgInitializer.cpp',
29    'tvgLinearGradient.cpp',
30    'tvgLoaderMgr.cpp',
31    'tvgPaint.cpp',
32    'tvgPicture.cpp',
33    'tvgRadialGradient.cpp',
34    'tvgRender.cpp',
35    'tvgScene.cpp',
36    'tvgShape.cpp',
37    'tvgSwCanvas.cpp',
38    'tvgTask.cpp',
39 ]
40
41 common_dep = declare_dependency(
42    dependencies        : engine_dep,
43    include_directories : include_directories('.'),
44    sources             : source_file
45 )