mirror of
https://github.com/espressif/esp-idf.git
synced 2026-09-22 13:01:16 +03:00
15 lines
618 B
CMake
15 lines
618 B
CMake
# The following lines of boilerplate have to be in your project's CMakeLists
|
|
# in this exact order for cmake to work correctly
|
|
cmake_minimum_required(VERSION 3.22)
|
|
|
|
|
|
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
|
# "Trim" the build. Include the minimal set of components, main, and anything it depends on.
|
|
idf_build_set_property(MINIMAL_BUILD ON)
|
|
project(mqtt_ssl)
|
|
|
|
# TODO IDF-15784: remove
|
|
# mqtt upstream sets locals without reading them; silence -Wunused-but-set-variable
|
|
idf_component_get_property(mqtt_lib espressif__mqtt COMPONENT_LIB)
|
|
target_compile_options(${mqtt_lib} PRIVATE -Wno-unused-but-set-variable)
|