]> granicus.if.org Git - esp-idf/commitdiff
mqtt: list files manually in component cmake file
authorRenz Bagaporo <renz@espressif.com>
Wed, 19 Sep 2018 08:48:12 +0000 (16:48 +0800)
committerRenz Bagaporo <renz@espressif.com>
Wed, 19 Sep 2018 08:48:12 +0000 (16:48 +0800)
components/mqtt/CMakeLists.txt

index ba5375c41f439612d2919ddf4badc3eb23cd88eb..27cf1e285089c0055052efa1979bf2fbf45964ce 100644 (file)
@@ -1,6 +1,10 @@
 set(COMPONENT_ADD_INCLUDEDIRS esp-mqtt/include)
 set(COMPONENT_PRIV_INCLUDEDIRS "esp-mqtt/lib/include")
-set(COMPONENT_SRCDIRS esp-mqtt esp-mqtt/lib)
+set(COMPONENT_SRCS "esp-mqtt/mqtt_client.c"
+                   "esp-mqtt/lib/mqtt_msg.c"
+                   "esp-mqtt/lib/mqtt_outbox.c"
+                   "esp-mqtt/lib/platform_esp32_idf.c"
+                   "esp-mqtt/lib/transport_ws.c")
 
 set(COMPONENT_REQUIRES lwip nghttp mbedtls tcp_transport)