SConscript 310 B

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