1 Star 0 Fork 320

JasonZ/eventos

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/a954710805/eventos.git
git@gitee.com:a954710805/eventos.git
a954710805
eventos
eventos
master

搜索帮助