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