mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-16 20:13:29 +08:00
1eea52307b
Signed-off-by: SchumyHao <bob-hjl@126.com>
12 lines
247 B
Python
12 lines
247 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'], CPPPATH = CPPPATH)
|
|
|
|
Return('group')
|