[Scons-users] Provide default Import to SConscript
bill at baddogconsulting.com
Fri Feb 16 15:09:56 EST 2018
No, there is no way without hacking the core code.
It is the way it is by design.
SCons Project Co-Manager
On Fri, Feb 16, 2018 at 2:28 PM, Hua Yanghao <huayanghao at gmail.com> wrote:
> Does anyone know in scons there are ways to implicitly make a object
> (e.g. xyz) available for SConscript without explicity Import(xyz)?
> Just want to eliminate the annoying repeated Import(xyz) in every
> single SConscript.
> And what about implicit Return()? e.g. xyz() returns a list of object,
> then in every SConscript if the top level SConstruct want to collect
> the complete list of object returned from every single SConscript.
> For example:
> ret = xyz(...)
> Would ideally become:
> Scons-users mailing list
> Scons-users at scons.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Scons-users