Re: using depends properly

Bill Deegan <[email protected]>
Newsgroups gmane.comp.programming.tools.scons.user
Message-ID <CAEyG4CEJJkO+BHj4uZCumeb9=SU+b9U1s9pc75h4yiM8XGuj_A@mail.gmail.com>
look at scons --tree=all

On Tue, Oct 1, 2019 at 12:03 PM daggs <[email protected]> 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" <[email protected]>
> *To:* "SCons users mailing list" <[email protected]>
> *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 <[email protected]> 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
>> [email protected]
>> https://pairlist4.pair.net/mailman/listinfo/scons-users
>
> _______________________________________________ Scons-users mailing list
> [email protected]
> https://pairlist4.pair.net/mailman/listinfo/scons-users
> _______________________________________________
> Scons-users mailing list
> [email protected]
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>

_______________________________________________
Scons-users mailing list
[email protected]
https://pairlist4.pair.net/mailman/listinfo/scons-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.