mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
800bffb8b0
Generating using convert_to_cmake.py, with some minor cleanup
14 lines
566 B
CMake
14 lines
566 B
CMake
# The following four 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.5)
|
|
|
|
set(MAIN_SRCS main/thing_shadow_sample.c)
|
|
|
|
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
|
project(thing_shadow)
|
|
|
|
# Embed the certificate data directly in the built binary
|
|
target_add_binary_data(thing_shadow.elf main/certs/aws-root-ca.pem TEXT)
|
|
target_add_binary_data(thing_shadow.elf main/certs/certificate.pem.crt TEXT)
|
|
target_add_binary_data(thing_shadow.elf main/certs/private.pem.key TEXT)
|