Compare commits

...

2 Commits
main ... NWMQTT

Author SHA1 Message Date
XI.CHEN 5a9aa6ebb2 修复编译错误 2 months ago
XI.CHEN 549d5f293c MQTT 2 months ago

@ -14,7 +14,7 @@ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -ffunction-sections -fdata-sections -Wformat
set(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS}")
# SET_TARGET_PROPERTIES(microphoto PROPERTIES LINK_FLAGS "-Wl,-s,--gc-sections")
add_definitions(-DUSING_MQTT)
add_definitions(-DUSING_ETHERNET)
if(ANDROID_ABI STREQUAL "armeabi-v7a")
@ -406,6 +406,10 @@ add_library( # Sets the name of the library.
${TERM_CORE_ROOT}/Client/Database.cpp
${TERM_CORE_ROOT}/Client/SimulatorDevice.cpp
${TERM_CORE_ROOT}/Client/DataController.cpp
${TERM_CORE_ROOT}/Client/Terminal_NWMQTT.cpp
${TERM_CORE_ROOT}/Client/cJSON.c
${TERM_CORE_ROOT}/SpecData_MQTT.cpp
${TERM_CORE_ROOT}/base64.cpp
)
@ -437,6 +441,7 @@ target_link_libraries( # Specifies the target library.
${log-lib}
android camera2ndk mediandk z curl
ncnn ${OpenCV_LIBS} sqlite3 ${HDRPLUS_LIBS_EMBED} ${ZLMEDIAKIT_LIBS}
mosquitto_static
)
# set_target_properties(${PROJECT_NAME} PROPERTIES LINK_FLAGS_RELEASE "-strip-all")

Loading…
Cancel
Save