Ai
1 Star 0 Fork 1

RT-Thread-Mirror/network-sample

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
SConscript 755 Bytes
一键复制 编辑 原始数据 按行查看 历史
misonyo 提交于 2018-09-13 13:50 +08:00 . 移除目录
from building import *
src = []
cwd = GetCurrentDir()
include_path = [cwd]
# add network samples.
if GetDepend('NETWORK_SAMPLES_USING_TCP_CLIENT'):
src += ['tcpclient_sample.c']
if GetDepend('NETWORK_SAMPLES_USING_TCP_SERVER'):
src += ['tcpserver_sample.c']
if GetDepend('NETWORK_SAMPLES_USING_UDP_CLIENT'):
src += ['udpclient_sample.c']
if GetDepend('NETWORK_SAMPLES_USING_UDP_SERVER'):
src += ['udpserver_sample.c']
if GetDepend('NETWORK_SAMPLES_USING_TCP_CLIENT_SELECT'):
src += ['tcpclient_select_sample.c']
if GetDepend('NETWORK_SAMPLES_USING_HTTP_CLIENT'):
src += ['httpclient_sample.c']
group = DefineGroup('network-samples', src, depend = ['PKG_USING_NETWORK_SAMPLES'], CPPPATH = include_path)
Return('group')
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/RT-Thread-Mirror/network-sample.git
git@gitee.com:RT-Thread-Mirror/network-sample.git
RT-Thread-Mirror
network-sample
network-sample
master

搜索帮助