1 Star 0 Fork 318

时代中天/eventos-nano

forked from eLab/eventos 
加入 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 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/timescenter/eventos-nano.git
git@gitee.com:timescenter/eventos-nano.git
timescenter
eventos-nano
eventos-nano
master

搜索帮助