2007-07-02 05:27:20 +02:00
|
|
|
# -*- python -*-
|
|
|
|
|
##
|
|
|
|
|
## SConscript - SCons buildscript for tool subdirectory (called by SConstruct)
|
|
|
|
|
##
|
|
|
|
|
|
2009-01-13 12:16:48 +01:00
|
|
|
Import('env','envGtk','artifacts','core')
|
2007-07-02 05:27:20 +02:00
|
|
|
|
2009-01-13 11:52:04 +01:00
|
|
|
support_lib = artifacts['support']
|
2007-08-17 00:36:07 +02:00
|
|
|
|
2009-01-13 12:16:48 +01:00
|
|
|
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)
|
2008-10-26 22:35:01 +01:00
|
|
|
+ env.Program('#$BINDIR/try', 'try.cpp') #### to try out some feature...
|
2009-01-13 12:16:48 +01:00
|
|
|
+ luidgen
|
|
|
|
|
+ rsvg
|
2007-08-17 00:36:07 +02:00
|
|
|
]
|
2007-07-02 05:27:20 +02:00
|
|
|
|
2009-01-13 12:16:48 +01:00
|
|
|
# Rendering the SVG Icons depends on rsvg-convert
|
|
|
|
|
env.Depends(artifacts['icons'], rsvg)
|
|
|
|
|
|