LUMIERA.clone/src/tool/SConscript

27 lines
778 B
Python
Raw Normal View History

# -*- python -*-
##
## SConscript - SCons buildscript for tool subdirectory (called by SConstruct)
##
Import('env core support_lib icons')
2009-02-08 20:13:19 +01:00
envSvg = env.Clone()
envSvg.mergeConf(['librsvg-2.0'])
envSvg.Append(LIBS=support_lib)
luidgen = env.Program('luidgen', ['luidgen.c'] + support_lib, install=True) ## for generating Lumiera-UIDs
rsvg = envSvg.Program('rsvg-convert','rsvg-convert.c') ## for rendering SVG icons (uses librsvg)
# build additional test and administrative tools....
tools = [ env.Program('hello-world','hello.c', install=True) #### hello world (checks C build)
+ luidgen
+ rsvg
]
Export('tools')
# Rendering the SVG Icons depends on rsvg-convert
env.Depends(icons, rsvg)