SConscript 349 B

123456789101112131415161718
  1. Import('rtconfig')
  2. from building import *
  3. cwd = GetCurrentDir()
  4. src = Glob('*.c')
  5. path = [cwd]
  6. if GetDepend(['UTEST_SERIAL_POSIX_TC']):
  7. src += Glob('posix/*.c')
  8. if GetDepend(['UTEST_SERIAL_QEMU_TC']):
  9. src += Glob('qemu/*.c')
  10. group = DefineGroup('utestcases', src, depend = ['UTEST_SERIAL_TC'], CPPPATH = path)
  11. Return('group')