2018-10-11 17:34:09 +02:00
|
|
|
# The following four lines of boilerplate have to be in your project's CMakeLists
|
|
|
|
# in this exact order for cmake to work correctly
|
2022-05-27 10:10:51 +02:00
|
|
|
cmake_minimum_required(VERSION 3.16)
|
2018-10-11 17:34:09 +02:00
|
|
|
|
|
|
|
|
2018-11-21 00:42:03 +08:00
|
|
|
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
2018-10-11 17:34:09 +02:00
|
|
|
project(mqtt_ssl_mutual_auth)
|
|
|
|
|
|
|
|
target_add_binary_data(${CMAKE_PROJECT_NAME}.elf "main/client.crt" TEXT)
|
|
|
|
target_add_binary_data(${CMAKE_PROJECT_NAME}.elf "main/client.key" TEXT)
|
2020-08-11 17:36:24 +08:00
|
|
|
target_add_binary_data(${CMAKE_PROJECT_NAME}.elf "main/mosquitto.org.crt" TEXT)
|