compile with esp mqtt lib
This commit is contained in:
@@ -23,6 +23,7 @@ add_compile_definitions(TLS_KEY_MAX_SIZE=1800)
|
||||
add_compile_definitions(TX_PAYLOAD_BUFFER_SIZE=6144)
|
||||
add_compile_definitions(ESP_PLATFORM)
|
||||
add_compile_definitions(ESP32)
|
||||
add_compile_definitions(ARDUINO_ARCH_ESP32)
|
||||
|
||||
include_directories(${PROJECT_NAME}
|
||||
PRIVATE
|
||||
@@ -31,10 +32,11 @@ include_directories(${PROJECT_NAME}
|
||||
lib/BleScanner/src
|
||||
lib/nuki_ble/src
|
||||
lib/WiFiManager
|
||||
lib/ArduinoMqttClient/src
|
||||
lib/WebServer/src
|
||||
lib/Ethernet/src
|
||||
lib/MqttLogger/src
|
||||
lib/espMqttClient/src
|
||||
lib/AsyncTCP/src
|
||||
)
|
||||
|
||||
file(GLOB SRCFILES
|
||||
@@ -73,9 +75,8 @@ file(GLOB SRCFILES
|
||||
lib/nuki_ble/src/NukiOpenerUtils.cpp
|
||||
lib/BleScanner/src/BleInterfaces.h
|
||||
lib/BleScanner/src/BleScanner.cpp
|
||||
lib/ArduinoMqttClient/src/MqttClient.cpp
|
||||
lib/ArduinoMqttClient/src/ArduinoMqttClient.h
|
||||
lib/MqttLogger/src/MqttLogger.cpp
|
||||
lib/AsyncTCP/src/AsyncTCP.cpp
|
||||
)
|
||||
|
||||
file(GLOB_RECURSE SRCFILESREC
|
||||
@@ -86,6 +87,12 @@ file(GLOB_RECURSE SRCFILESREC
|
||||
lib/WebServer/src/*.h
|
||||
lib/Ethernet/src/*.cpp
|
||||
lib/Ethernet/src/*.h
|
||||
lib/espMqttClient/src/*.cpp
|
||||
lib/espMqttClient/src/*.h
|
||||
lib/espMqttClient/src/Packets/*.cpp
|
||||
lib/espMqttClient/src/Packets/*.h
|
||||
lib/espMqttClient/src/Transport/*.cpp
|
||||
lib/espMqttClient/src/Transport/*.h
|
||||
)
|
||||
|
||||
add_executable(${PROJECT_NAME}
|
||||
|
||||
Reference in New Issue
Block a user