[C++] Add cplusplus component

This commit is contained in:
Bernard Xiong
2014-11-01 09:09:21 +08:00
parent 0797e54f3f
commit b84123b0b4
4 changed files with 66 additions and 0 deletions

View File

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