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