rt-thread-official/examples/utest/testcases/posix/errno_h/SConscript

16 lines
331 B
Python
Raw Normal View History

2022-07-04 10:20:04 +08:00
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')