[Scons-users] Default() and Ignore() - seem a little awkward

Bill Deegan bill at baddogconsulting.com
Fri Jan 4 18:54:23 EST 2019


Not really.
All the nodes are added.
Ignore says, don't build this one to satisfy this other one.
Default says, always build this even it it's not under the invocation
directory.

What do you mean that an empty SConscript isn't benign?


On Fri, Jan 4, 2019 at 6:12 PM Mats Wichmann <mats at wichmann.us> wrote:

> On 1/4/19 3:55 PM, Bill Deegan wrote:
> > 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?
>
> In theory. That's kind of what the use of Default implies - don't add
> them if they're not asked for, no?
>
> In practice there are some issues for this setup - e.g. the helpful
> dividing up of each area into multiple areas (src, test, sample), each
> with its own sconscript, makes that harder, since apparently a
> sconscript with no targets at all isn't benign. Also that there are so
> many examples to be excluded-but-not-removed that describing what to
> include/exclude would bloat something - command-line options, internal
> flags, etc. Could turn off lots easily, then how to turn one back on?
> That stuff is our problem, of course.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20190104/53bb8c6c/attachment.html>


More information about the Scons-users mailing list