[Scons-dev] How to create a builder with optional source and target parameters?
Dirk Bächle
tshortik at gmx.de
Wed Oct 3 16:31:33 EDT 2012
Hi Oleg,
On 03.10.2012 22:10, Left Right wrote:
> Hello, list.
>
> I'm trying to write an extension, and here's one thing I would like to
> have in it: I would like to be able to call the builder without
> arguments at all. [...]
> What would be the way to do it? I mean, of course I could've copied
> the entire Builder function and replace some bits that I need, but is
> that the way to go, or is there a better alternative?
this sounds like a pseudo-Builder could help (see
http://scons.org/wiki/ToolsForFools and chapter 20 of the User Guide).
It would give you full control over the input parameters and you could
then call the actual Builder.
Best regards,
Dirk
More information about the Scons-dev
mailing list