SConscript 325 B

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