[Scons-users] Can I filter the objects in env.Program
prife
goprife at gmail.com
Thu Feb 28 23:26:04 EST 2013
hi, our open-source project use SCons to construct sources.
for historical reasons, in our BSPs, the SConstruct looks like:
> # STM32 firemare library building script
> objs = objs + SConscript( GetCurrentDir() + '/Libraries/SConscript',
> variant_dir='build/bsp/Libraries', duplicate=0)
> if GetDepend('RT_USING_RTGUI'):
> objs = objs + SConscript(RTT_ROOT + '/examples/gui/SConscript',
> variant_dir='build/examples/gui', duplicate=0)
> # build program
> env.Program(TARGET, objs)
Now, we want to modify the elments in objs when running env.Program without
modifying the existing code(SConstructs in so many BSPs).
I mean , is there an the hook in env.Program?
Any suggestions will be appreciated..
--
°ÑÓÐÏÞµÄʱ¼äͶÈëµ½ÎÞÏÞµÄѧϰÖÐÈ¥
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://four.pairlist.net/pipermail/scons-users/attachments/20130301/44e16a93/attachment.html>
More information about the Scons-users
mailing list