mirror of
https://gitee.com/beecue/fastbee.git
synced 2025-12-21 02:15:55 +08:00
更新硬件SDK
This commit is contained in:
23
sdk/合宙/air780e/csdk/luatos-soc-2022/thirdparty/mqtt/xmake.lua
vendored
Normal file
23
sdk/合宙/air780e/csdk/luatos-soc-2022/thirdparty/mqtt/xmake.lua
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
|
||||
target("mqtt")
|
||||
local LIB_DIR = "$(buildir)/mqtt/"
|
||||
set_kind("static")
|
||||
set_targetdir(LIB_DIR)
|
||||
|
||||
add_defines("FEATURE_MQTT_TLS_ENABLE",{public = true})
|
||||
|
||||
--加入代码和头文件
|
||||
add_includedirs("./",
|
||||
SDK_TOP .. "thirdparty/mbedtls/include/mbedtls",
|
||||
SDK_TOP .. "thirdparty/cjson",
|
||||
"./MQTTPacket/src",
|
||||
"./MQTTClient-C/src/FreeRTOS",
|
||||
{public = true})
|
||||
|
||||
add_files("./MQTTPacket/src/*.c",
|
||||
"./MQTTClient-C/src/FreeRTOS/*.c",
|
||||
{public = true})
|
||||
|
||||
--自动链接
|
||||
LIB_USER = LIB_USER .. SDK_TOP .. LIB_DIR .. "libmqtt.a "
|
||||
target_end()
|
||||
Reference in New Issue
Block a user