1
0

SConscript 359 B

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