26 lines
993 B
Python
26 lines
993 B
Python
# -*- python -*-
|
|
##
|
|
## SConscript - SCons buildscript for tool subdirectory (called by SConstruct)
|
|
##
|
|
|
|
Import('env','envGtk','artifacts','core')
|
|
|
|
support_lib = artifacts['support']
|
|
|
|
vgsuppr = env.Program('#$BINDIR/vgsuppression','vgsuppression.c', LIBS=core) ## for suppressing false valgrind alarms
|
|
luidgen = env.Program('#$BINDIR/luidgen', 'luidgen.c', LIBS=support_lib) ## for rendering SVG icons (uses librsvg)
|
|
|
|
rsvg = envGtk.Program('#$BINDIR/rsvg-convert','rsvg-convert.c')
|
|
|
|
|
|
# build additional test and administrative tools....
|
|
artifacts['tools'] = [ env.Program('#$BINDIR/hello-world','hello.c') #### hello world (checks C build)
|
|
+ env.Program('#$BINDIR/try', 'try.cpp') #### to try out some feature...
|
|
# + luidgen
|
|
+ vgsuppr
|
|
+ rsvg
|
|
]
|
|
|
|
# Rendering the SVG Icons depends on rsvg-convert
|
|
env.Depends(artifacts['icons'], rsvg)
|
|
|