[Scons-users] Recursive directories, and the ignoring of filenames.

Bill Deegan bill at baddogconsulting.com
Fri Aug 3 13:28:00 EDT 2018


On Fri, Aug 3, 2018 at 10:25 AM, Alistair Buxton <a.j.buxton at gmail.com>
wrote:

> On 3 August 2018 at 18:08, Matthew Marinets
> <Matthew.Marinets at kardium.com> wrote:
> > To me it sounds more like you just need an emitter.
> >
> > The bug you described (as I understood it), is that the built-in SCons
> > decider is order-sensitive. Saying [“src/a.txt”, “src/b.txt”] is
> different
> > from [“src/b.txt”, “src/a.txt”].
> >
> > The simple solution, as Bill said, it to just sort your list. You can do
> > this automatically in an emitter.
>
> Then you didn't correctly understand the issue. Go and read it again.
> The issue is that saying ['a.txt', 'b.txt'] is the same say saying
> ['a.txt', 'c.txt'] if b.txt and c.txt have the same contents, ie it
> will NOT trigger a rebuild, even though it should. The way you build
> the list is 100% irrelevant as this is an internal implementation
> detail of scons.
>

Yes. I understood the issue.
However you care if:
1) the file path changes (if so trigger a rebuild right?)
2) the contents of same name file changes (and/or timestamp) if so then
rebuild right?

-Bill


>
>
> --
> Alistair Buxton
> a.j.buxton at gmail.com
> _______________________________________________
> 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/20180803/a5bec26c/attachment.html>


More information about the Scons-users mailing list