From 4161c68f971def58a4ed4e80cc0c1470ea09da98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joe=CC=88l=20Ga=CC=88hwiler?= Date: Wed, 26 Jan 2022 12:59:31 +0100 Subject: [PATCH] properly name source files --- CMakeLists.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c6fb1a7..8b00bf0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,13 +1,13 @@ -cmake_minimum_required(VERSION 3.7) -set(CMAKE_C_STANDARD 99) - -FILE(GLOB_RECURSE sources +set(srcs "esp_lwmqtt.c" "esp_mqtt.c" "esp_tls_lwmqtt.c" - "lwmqtt/src/*.*") + "lwmqtt/src/client.c" + "lwmqtt/src/helpers.c" + "lwmqtt/src/packet.c" + "lwmqtt/src/string.c") -idf_component_register(SRCS ${sources} +idf_component_register(SRCS ${srcs} INCLUDE_DIRS "." "lwmqtt/include" REQUIRES mbedtls )