2 Star 0 Fork 0

RT-Thread-Mirror/nopoll

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
SConscript 846 Bytes
一键复制 编辑 原始数据 按行查看 历史
Murphy 提交于 2018-01-22 11:40 . [nopoll] update SConscript depend
import os
import rtconfig
from building import *
cwd = GetCurrentDir()
src = Split('''
nopoll/nopoll.c
nopoll/nopoll_conn_opts.c
nopoll/nopoll_ctx.c
nopoll/nopoll_decl.c
nopoll/nopoll_io.c
nopoll/nopoll_listener.c
nopoll/nopoll_log.c
nopoll/nopoll_loop.c
nopoll/nopoll_msg.c
nopoll/nopoll_conn.c
nopoll/nopoll_rtthread.c
''')
CPPPATH = [cwd + '/nopoll', cwd + '/sha1']
LOCAL_CCFLAGS = ''
if rtconfig.CROSS_TOOL == 'keil':
LOCAL_CCFLAGS += ' --gnu'
group = DefineGroup('nopoll', src, depend = ['RT_USING_LWIP', 'PKG_USING_NOPOLL', 'PKG_USING_TINYCRYPT'], CPPPATH = CPPPATH, LOCAL_CCFLAGS = LOCAL_CCFLAGS)
examples_src = Split('''
examples/nopoll_client.c
''')
group = group + DefineGroup('nopoll-examples', examples_src, depend = ['PKG_USING_NOPOLL', 'PKG_USING_NOPOLL_EXAMPLE'], LOCAL_CCFLAGS = LOCAL_CCFLAGS)
Return('group')
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/RT-Thread-Mirror/nopoll.git
git@gitee.com:RT-Thread-Mirror/nopoll.git
RT-Thread-Mirror
nopoll
nopoll
master

搜索帮助