1 Star 0 Fork 41

zhanggyhz/kawaii-mqtt

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
SConscript 1.01 KB
一键复制 编辑 原始数据 按行查看 历史
ijiedev 提交于 2020-03-03 23:06 . fix kawaii mqtt client and release v1.0.0
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('common/mbedtls/library/*.c')
src += Glob('common/mbedtls/wrapper/*.c')
path += [cwd + '/common/mbedtls/wrapper']
path += [cwd + '/common/mbedtls/include']
path += [cwd + '/common/mbedtls/include/mbedtls']
if GetDepend(['KAWAII_MQTT_LOG_IS_SALOF']):
src += Glob('common/log/*.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/stm32proj/kawaii-mqtt.git
git@gitee.com:stm32proj/kawaii-mqtt.git
stm32proj
kawaii-mqtt
kawaii-mqtt
master

搜索帮助