[Scons-users] using depends properly

Bill Deegan bill at baddogconsulting.com
Tue Oct 1 15:07:40 EDT 2019


look at scons --tree=all

On Tue, Oct 1, 2019 at 12:03 PM daggs <daggs at gmx.com> wrote:

> Greetings,
>
> scons_instance gets executed before any of the entries in the list are
> executed. as it depends on them, it fails.
> I'll try to devise a small project to reproduce it, will update when I can.
>
> Thanks,
>
> Dagg.
>
> *Sent:* Tuesday, October 01, 2019 at 9:54 PM
> *From:* "Bill Deegan" <bill at baddogconsulting.com>
> *To:* "SCons users mailing list" <scons-users at scons.org>
> *Subject:* Re: [Scons-users] using depends properly
> You've failed to tell us what's happening.
> Can you provide a small example so others can try to reproduce it?
>
> -Bill
>
> On Tue, Oct 1, 2019 at 10:56 AM daggs <daggs at gmx.com> wrote:
>
>> Greetings,
>>
>> I have a question on how to use the depends call properly.
>> I have a folder with sconscript file in it which calls a builder on
>> various inputs.
>> for each input, I save the result of that builder in a appropriate list
>> in a global var.
>> after that, I call another sconsript file and declares this:
>> env.Depends(scons_instance, list from global var)
>> if I print that list, I see the targets I've saved.
>> but I'd expect that all the builders will be executed first and only then
>> scons_instance will get created.
>> am I using the depends call wrong?
>>
>> how can I fix it?
>>
>> Thanks,
>>
>> Dagg.
>> _______________________________________________
>> Scons-users mailing list
>> Scons-users at scons.org
>> https://pairlist4.pair.net/mailman/listinfo/scons-users
>
> _______________________________________________ Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
> _______________________________________________
> 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/20191001/0c251520/attachment-0001.html>


More information about the Scons-users mailing list