[cpp] support rt-thread CPP wrapper sub-switch macros

This commit is contained in:
yangjie11
2023-06-12 14:32:48 +08:00
committed by Man, Jianting (Meco)
parent 49ae4ab614
commit c4df1d6a19
13 changed files with 40 additions and 14 deletions

View File

@@ -0,0 +1,8 @@
from building import *
cwd = GetCurrentDir()
src = Glob('*.cpp')
CPPPATH = [cwd]
group = DefineGroup('CPP', src, depend=['RT_USING_CPP_WRAPPER'], CPPPATH=CPPPATH)
Return('group')