[Scons-users] Multiple targets from commandline

William Blevins wblevins001 at gmail.com
Thu Jul 7 10:42:38 EDT 2016


You don't need to loop through targets. Emitters are extremely simple to
make.

https://bitbucket.org/scons/scons/wiki/ToolsForFools
https://bitbucket.org/scons/scons/wiki/DynamicSourceGenerator

V/R,
William

On Thu, Jul 7, 2016 at 2:11 PM, pholat <pholat at gmail.com> wrote:

> Hi All,
>
> I want to be able to select targets depending on target passed to scons.
> Ain't there any simpler way than using emitter? From what I understood I
> need to do something similar as in top answer here:
>
> http://stackoverflow.com/questions/13953964/scons-to-generate-variable-number-of-targets
>
> But in
>
> def my_action( env, target, source ):
>
> i should be looping through COMMAND_LINE_TARGETS and selecting the one I
> want use.
> Or is there maybe  any better way?
>
> Pozdrawiam,
> Adam A. Dobrowolski || pholat
>
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20160707/aaca65bd/attachment.html>


More information about the Scons-users mailing list