SConscript revision 28105471afce634df6c35ef14b198fe6e3684c00
1#######################################################################
2# SConscript for vega state_tracker
3
4Import('*')
5
6env = env.Clone()
7
8env.Append(CPPPATH = [
9    '#/src/mapi',
10])
11env.Append(CPPDEFINES = [
12    'VEGA_VERSION_STRING=',
13])
14
15vega_sources = [
16    'api.c',
17    'api_context.c',
18    'api_filters.c',
19    'api_images.c',
20    'api_masks.c',
21    'api_misc.c',
22    'api_paint.c',
23    'api_params.c',
24    'api_path.c',
25    'api_text.c',
26    'api_transform.c',
27    'vgu.c',
28    'vg_context.c',
29    'vg_manager.c',
30    'vg_state.c',
31    'vg_translate.c',
32    'polygon.c',
33    'bezier.c',
34    'path.c',
35    'paint.c',
36    'arc.c',
37    'image.c',
38    'renderer.c',
39    'stroker.c',
40    'mask.c',
41    'shader.c',
42    'shaders_cache.c',
43]
44
45# vgapi_header must be generated first
46env.Depends(vega_sources, vgapi_header)
47
48st_vega = env.ConvenienceLibrary(
49    target = 'st_vega',
50    source = vega_sources,
51)
52
53Export('st_vega')
54