[Scons-users] manipulating COMMAND_LINE_TARGETS
Bill Deegan
bill at baddogconsulting.com
Thu Jul 16 09:50:45 EDT 2020
Go take a look at the man page. Search for Alias()
On Wed, Jul 15, 2020 at 11:40 PM daggs <daggs at gmx.com> wrote:
> Greetings,
>
> I know I can manipulate DEFAULT_TARGETS by using the Default cmd
> (Default(target) adds target to DEFAULT_TARGETS and Default(None) clears
> DEFAULT_TARGETS)
> but if COMMAND_LINE_TARGETS is set, than scons ignore DEFAULT_TARGETS and
> uses COMMAND_LINE_TARGETS.
> my question is, is there an Default equivalent for COMMAND_LINE_TARGETS
> manipulation?
>
> the reason I'm asking is that I want to implement a "target translator",
> e.g.
> if I have three targets:
> a/b/c/d, a/b/c1/d1, a/b/c2/d2
> I want to be able to map a name to target, e.g.
> target0 => a/b/c/d
> target1 => a/b/c1/d1
> target2 => a/b/c2/d2
>
> so running scons a/b/c/d and scons target0 will have the same affect.
>
> Thanks,
>
> Dagg.
> _______________________________________________
> 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/20200716/7d61e476/attachment.html>
More information about the Scons-users
mailing list