[Scons-users] Default() and Ignore() - seem a little awkward
Bill Deegan
bill at baddogconsulting.com
Fri Jan 4 17:55:00 EST 2019
Could what you want to do be better achieved by not adding the examples in
your relevant SConscript if such target(s) aren't asked for?
On Fri, Jan 4, 2019 at 5:18 PM Mats Wichmann <mats at wichmann.us> wrote:
> On 1/4/19 2:38 PM, Gary Oberbrunner wrote:
> > For any significant SCons project, I always use something like
> > Default(Alias("DefaultBuild")). Then I add targets to that alias if they
> > should be in the default build. And I create other aliases for optional
> > targets. I find that only rarely is the SCons default of building '.'
> what
> > I really want by default.
> >
> > BTW, it's simple to add to an Alias even without passing it around;
> > Alias("DefaultBuild", my_target) works to add to it from anywhere deep in
> > the build.
> >
> > -- Gary
>
> okay, thanks.
>
> our project does do some things that hint at a similar approach though
> not going the whole way, maybe I should be more trusting of the existing
> code :)
>
> cheers,
>
> -- mats
>
> _______________________________________________
> 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/20190104/a40854fe/attachment-0001.html>
More information about the Scons-users
mailing list