esp-idf/components/mqtt/test/CMakeLists.txt

10 lines
378 B
CMake
Raw Normal View History

2022-03-03 02:41:07 -05:00
set(srcs test_mqtt_client_broker.c test_mqtt_connection.c test_mqtt.c)
if(CONFIG_MQTT_PROTOCOL_5)
list(APPEND srcs test_mqtt5_client_broker.c test_mqtt5.c)
endif()
idf_component_register(SRCS "${srcs}"
PRIV_REQUIRES cmock test_utils mqtt nvs_flash app_update esp_eth esp_netif spi_flash)
target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-format")