4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-15 23:59:32 +08:00
2014-11-01 14:12:58 +08:00

12 lines
264 B
Python

# RT-Thread building script for component
from building import *
cwd = GetCurrentDir()
src = Glob('*.cpp') + Glob('*.c')
CPPPATH = [cwd]
group = DefineGroup('CPlusPlus', src, depend = ['RT_USING_CPLUSPLUS', 'RT_USING_LIBC'], CPPPATH = CPPPATH)
Return('group')