33 lines
1.1 KiB
Python
33 lines
1.1 KiB
Python
# -*- python -*-
|
|
##
|
|
## SConscript - SCons buildscript for tool subdirectory (called by SConstruct)
|
|
##
|
|
|
|
Import('env core support_lib icons')
|
|
|
|
|
|
envSvg = env.Clone()
|
|
envSvg.mergeConf(['librsvg-2.0'])
|
|
envSvg.Append(LIBS=support_lib)
|
|
|
|
envSnd = env.Clone()
|
|
envSnd.mergeConf(['alsa'])
|
|
|
|
|
|
outputProbe = envSnd.Program('lumiera-output-probe'
|
|
, ['main.c', 'alsa.c'] + core, install=True) ## Odin's ALSA experiments
|
|
|
|
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)
|
|
+ outputProbe #### for output connection tests
|
|
+ luidgen
|
|
+ rsvg
|
|
]
|
|
Export('tools')
|
|
|
|
# Rendering the SVG Icons depends on rsvg-convert
|
|
env.Depends(icons, rsvg)
|
|
|