mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
15 lines
493 B
CMake
15 lines
493 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/native_ota_example.c)
|
|
|
|
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
|
project(native_ota)
|
|
|
|
# Embed the server root certificate into the final binary
|
|
#
|
|
# (If this was a component, we would set COMPONENT_EMBED_TXTFILES here.)
|
|
target_add_binary_data(native_ota.elf
|
|
"../server_certs/ca_cert.pem" TEXT)
|