Re: using depends properly
daggs <[email protected]>
| Newsgroups | gmane.comp.programming.tools.scons.user |
|---|---|
| Message-ID | <trinity-6980245a-e06e-4187-abdb-ab529bb668f0-1570104805086@3c-app-mailcom-bs02> |
Greetings, here is the example: https://github.com/daggs1/test_scons_deps the reason I'm using an global list is because in the bigger project, there are 3 different lists which affects different scons files and the list that populates it (a,b,c,d) can be distribued to any of the lists. if the proper way is to return the list from the scons, then I'll try that (assuming there is no issue in returning three lists from a scons file) Thanks, Dagg. Sent: Tuesday, October 01, 2019 at 10:07 PM From: "Bill Deegan" <[email protected]> To: "SCons users mailing list" <[email protected]> Subject: Re: [Scons-users] using depends properly 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 _______________________________________________ Scons-users mailing list [email protected] https://pairlist4.pair.net/mailman/listinfo/scons-users