1 Star 0 Fork 41

可乐加雪碧/kawaii-mqtt

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
SConscript 1.06 KB
一键复制 编辑 原始数据 按行查看 历史
杰杰 提交于 2020-06-17 16:29 . update rt-thread platform kawaii mqtt ...
Import('RTT_ROOT')
from building import *
# get current directory
cwd = GetCurrentDir()
# The set of source files associated with this SConscript file.
src = Glob('common/*.c')
src += Glob('mqtt/*.c')
src += Glob('mqttclient/*.c')
src += Glob('network/*.c')
src += Glob('platform/RT-Thread/*.c')
path = [cwd + '/common']
path += [cwd + '/mqtt']
path += [cwd + '/mqttclient']
path += [cwd + '/network']
path += [cwd + '/platform/RT-Thread']
if GetDepend(['KAWAII_MQTT_NETWORK_TYPE_TLS']):
src += Glob('network/mbedtls/library/*.c')
src += Glob('network/mbedtls/wrapper/*.c')
path += [cwd + '/network/mbedtls/wrapper']
path += [cwd + '/network/mbedtls/include']
path += [cwd + '/network/mbedtls/include/mbedtls']
if GetDepend(['KAWAII_MQTT_LOG_IS_SALOF']):
src += Glob('common/log/*.c')
src += Glob('common/log/arch/rt-thread/*.c')
path += [cwd + '/common/log']
if GetDepend(['PKG_USING_KAWAII_MQTT_TEST']):
src += Glob('test/*.c')
group = DefineGroup('kawaii_mqtt',src , depend = ['PKG_USING_KAWAII_MQTT'], CPPPATH = path)
Return('group')
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/delete_h/kawaii-mqtt.git
git@gitee.com:delete_h/kawaii-mqtt.git
delete_h
kawaii-mqtt
kawaii-mqtt
master

搜索帮助