[Scons-users] running buildre once and sharing it's output with another variant dir
Bill Deegan
bill at baddogconsulting.com
Tue Jul 19 12:32:07 EDT 2022
A small working example might be helpful.
So are you wanting to use the same SConscript for the second variant dir?
Or is this a different SConscript?
On Tue, Jul 19, 2022 at 8:28 AM Mats Wichmann <mats at wichmann.us> wrote:
> On 7/19/22 08:34, daggs wrote:
> > Greetings,
> >
> > I have a module which I compile using variant dir.
> > in the module's SConscript, I have a builder that is executed on a set
> of files. I'd like to export that set of files do it can be used in the
> second variant dir.
> >
> > will Export do the work?
>
> What Export does is it stores a variable with its value (i.e. key/value
> pair) in a global (to the SCons process) dictionary so that other things
> can grab it needed.
>
> Not sure from your description what it is you want to share - generated
> files? Export isn't really a mechanism intended for file contents, but
> as long as you don't blow up the dictionary it might work....
>
>
> _______________________________________________
> 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/20220719/721b29c8/attachment.htm>
More information about the Scons-users
mailing list