1
0

SConscript 340 B

12345678910111213
  1. from building import *
  2. cwd = GetCurrentDir()
  3. objs = []
  4. list = os.listdir(os.path.join(cwd, '..'))
  5. for d in list:
  6. if (d != 'M4' and d != 'M0'):
  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')