当前仓库属于关闭状态,部分功能使用受限,详情请查阅 仓库状态说明
1 Star 0 Fork 80

jimmy6270/eventos-nano
关闭

forked from eLab/eventos-nano
关闭
 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
SConstruct 1.01 KB
一键复制 编辑 原始数据 按行查看 历史
import os
import sys
# 添加路径到环境变量
sys.path.append("tools")
from tools import test_copy
test_copy.execute()
defines = ['MAIN_DEF']
ccflags = []
env = Environment()
env.Append(CPPDEFINES = defines)
env.Append(CCCOMSTR = "CC $SOURCES")
env.Append(LINKCOMSTR = "LINK $TARGET")
# The unit test example --------------------------------------------------------
objs = SConscript('test/SConscript', variant_dir = 'build/test', duplicate = 0)
objs += SConscript('eventos/SConscript', variant_dir = 'build/eventos', duplicate = 0)
objs += SConscript('3rd/unity/SConscript', variant_dir = 'build/3rd/unity', duplicate = 0)
env.Program(target = 'build/eos', source = objs)
# The posix example ------------------------------------------------------------
objs = SConscript('examples/posix/SConscript', variant_dir = 'build/examples/posix', duplicate = 0)
objs += SConscript('eventos/SConscript', variant_dir = 'build/eventos', duplicate = 0)
env.Program(target = 'build/posix', source = objs)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/jimmy6270/eventos-nano.git
git@gitee.com:jimmy6270/eventos-nano.git
jimmy6270
eventos-nano
eventos-nano
master

搜索帮助