APP_Framework/Applications/:add the compiling file about submodule

This commit is contained in:
chunyexixiaoyu
2022-05-25 17:37:42 +08:00
parent 876a6c8ff1
commit 87fade218f
2 changed files with 106 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
import os
Import('RTT_ROOT')
from building import *
cwd = GetCurrentDir()
objs = []
list = os.listdir(cwd)
for d in list:
path = os.path.join(cwd, d)
if os.path.isfile(os.path.join(path, 'SConscript')):
objs = objs + SConscript(os.path.join(path, 'SConscript'))
Return('objs')