2007-07-02 05:27:20 +02:00
|
|
|
# -*- python -*-
|
|
|
|
|
##
|
|
|
|
|
## SConscript - SCons buildscript for tool subdirectory (called by SConstruct)
|
|
|
|
|
##
|
|
|
|
|
|
2012-01-09 02:56:29 +01:00
|
|
|
Import('env core support_lib icons')
|
2007-07-02 05:27:20 +02:00
|
|
|
|
2007-08-17 00:36:07 +02:00
|
|
|
|
2009-02-08 20:13:19 +01:00
|
|
|
envSvg = env.Clone()
|
|
|
|
|
envSvg.mergeConf(['librsvg-2.0'])
|
|
|
|
|
envSvg.Append(LIBS=support_lib)
|
2009-01-13 12:16:48 +01:00
|
|
|
|
|
|
|
|
|
2011-07-24 17:25:30 +02:00
|
|
|
luidgen = env.Program('luidgen', ['luidgen.c'] + support_lib, install=True) ## for generating Lumiera-UIDs
|
2011-01-30 18:56:51 +01:00
|
|
|
rsvg = envSvg.Program('rsvg-convert','rsvg-convert.c') ## for rendering SVG icons (uses librsvg)
|
2009-01-13 12:16:48 +01:00
|
|
|
|
|
|
|
|
# build additional test and administrative tools....
|
2012-01-09 02:56:29 +01:00
|
|
|
tools = [ env.Program('hello-world','hello.c', install=True) #### hello world (checks C build)
|
|
|
|
|
+ luidgen
|
|
|
|
|
+ rsvg
|
|
|
|
|
]
|
|
|
|
|
Export('tools')
|
2007-07-02 05:27:20 +02:00
|
|
|
|
2009-01-13 12:16:48 +01:00
|
|
|
# Rendering the SVG Icons depends on rsvg-convert
|
2012-01-09 02:56:29 +01:00
|
|
|
env.Depends(icons, rsvg)
|
2009-01-13 12:16:48 +01:00
|
|
|
|