[Scons-users] Provide default Import to SConscript
    Hua Yanghao 
    huayanghao at gmail.com
       
    Fri Feb 16 14:28:48 EST 2018
    
    
  
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:
SConscript-1:
Import("xyz")
ret = xyz(...)
Return("ret")
Would ideally become:
SConscript-2:
xyz(...)
Thanks,
Yanghao
    
    
More information about the Scons-users
mailing list