加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
SConscript 371 Bytes
一键复制 编辑 原始数据 按行查看 历史
钱强 提交于 2022-04-23 15:46 . master
# RT-Thread building script for bridge
import os
from building import *
cwd = GetCurrentDir()
objs = []
list = os.listdir(cwd)
if GetDepend('PKG_USING_STATE_MACHINE'):
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(d, 'SConscript'))
Return('objs')
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化