SConscript 331 B

123456789101112131415
  1. import rtconfig
  2. Import('RTT_ROOT')
  3. from building import *
  4. # get current directory
  5. cwd = GetCurrentDir()
  6. path = [cwd]
  7. src = []
  8. if GetDepend('RTT_POSIX_TESTCASE_ERRNO_H'):
  9. src += Glob('./definitions/*.c')
  10. group = DefineGroup('rtt_posix_testcase', src, depend = ['RTT_POSIX_TESTCASE_ERRNO_H'], CPPPATH = path)
  11. Return('group')