SConscript 274 B

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