Re: Default() and Ignore() - seem a little awkward
Mats Wichmann <[email protected]>
| Newsgroups | gmane.comp.programming.tools.scons.user |
|---|---|
| Message-ID | <[email protected]> |
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
[email protected]
https://pairlist4.pair.net/mailman/listinfo/scons-users