SConscript 347 B

12345678910111213
  1. # for module compiling
  2. import os
  3. Import('RTT_ROOT')
  4. objs = []
  5. list = os.listdir(os.path.join(RTT_ROOT, 'components', 'external'))
  6. for d in list:
  7. path = os.path.join(RTT_ROOT, 'components', 'external', d)
  8. if os.path.isfile(os.path.join(path, 'SConscript')):
  9. objs = objs + SConscript(os.path.join(d, 'SConscript'))
  10. Return('objs')