1
0

SConscript 265 B

123456789101112
  1. from building import *
  2. cwd = GetCurrentDir()
  3. objs = []
  4. list = os.listdir(cwd)
  5. for d in list:
  6. path = os.path.join(cwd, d)
  7. if os.path.isfile(os.path.join(path, 'SConscript')):
  8. objs = objs + SConscript(os.path.join(d, 'SConscript'))
  9. Return('objs')