You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
352 B
18 lines
352 B
Import('rtconfig')
|
|
from building import *
|
|
|
|
cwd = GetCurrentDir()
|
|
src = Glob('*.c')
|
|
|
|
path = [cwd]
|
|
|
|
if GetDepend(['RT_UTEST_SERIAL_POSIX']):
|
|
src += Glob('posix/*.c')
|
|
|
|
if GetDepend(['RT_UTEST_SERIAL_QEMU']):
|
|
src += Glob('qemu/*.c')
|
|
|
|
group = DefineGroup('utestcases', src, depend = ['RT_UTEST_SERIAL_V2'], CPPPATH = path)
|
|
|
|
Return('group')
|
|
|
|
|