4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-20 23:43:31 +08:00
2022-07-04 10:20:04 +08:00

16 lines
331 B
Python

import rtconfig
Import('RTT_ROOT')
from building import *
# get current directory
cwd = GetCurrentDir()
path = [cwd]
src = []
if GetDepend('RTT_POSIX_TESTCASE_ERRNO_H'):
src += Glob('./definitions/*.c')
group = DefineGroup('rtt_posix_testcase', src, depend = ['RTT_POSIX_TESTCASE_ERRNO_H'], CPPPATH = path)
Return('group')