# -*- python -*- ## ## SConscript - SCons buildscript for tool subdirectory (called by SConstruct) ## Import('env','artifacts','core') support_lib = artifacts['support'] envSvg = env.Clone() envSvg.mergeConf(['librsvg-2.0']) envSvg.Append(LIBS=support_lib) luidgen = env.LumieraExe('#$TARDIR/luidgen', 'luidgen.c', LIBS=support_lib) ## for generating Lumiera-UIDs rsvg = envSvg.LumieraExe('#$TARDIR/rsvg-convert','rsvg-convert.c') ## for rendering SVG icons (uses librsvg) # build additional test and administrative tools.... artifacts['tools'] = [ env.LumieraExe('#$TARDIR/hello-world','hello.c') #### hello world (checks C build) + env.LumieraExe('#$TARDIR/try', 'try.cpp') #### to try out some feature... # + luidgen + rsvg ] # Rendering the SVG Icons depends on rsvg-convert env.Depends(artifacts['icons'], rsvg)