SConscript 442 B

12345678910111213141516171819
  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_DIRENT_H'):
  9. src += Glob('./definitions/*.c')
  10. if GetDepend('DIRENT_H_OPENDIR_READDIR_CLOSEDIR'):
  11. src += Glob('./functions/open_read_close_dir_tc.c')
  12. group = DefineGroup('rtt_posix_testcase', src, depend = ['RTT_POSIX_TESTCASE_DIRENT_H'], CPPPATH = path)
  13. Return('group')