Re: Default() and Ignore() - seem a little awkward
Bill Deegan <[email protected]>
| Newsgroups | gmane.comp.programming.tools.scons.user |
|---|---|
| Message-ID | <CAEyG4CF7FYJgqY84dPwOyfDwZbHo7TUgF7MV+GchfHg7jjtXqg@mail.gmail.com> |
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 <[email protected]> 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. > > _______________________________________________ Scons-users mailing list [email protected] https://pairlist4.pair.net/mailman/listinfo/scons-users