smart-green-house/rtt-uart-nb/rt-thread/components/libc/getline/SConscript

14 lines
290 B
Python
Raw Permalink Normal View History

2023-10-28 18:00:47 +08:00
# RT-Thread building script for component
from building import *
cwd = GetCurrentDir()
src = Glob('*.c') + Glob('*.cpp')
CPPPATH = [cwd]
group = DefineGroup('libc', src,
depend = ['RT_USING_LIBC', 'RT_USING_POSIX','RT_USING_POSIX_GETLINE'],
CPPPATH = CPPPATH)
Return('group')