11 lines
454 B
CMake
11 lines
454 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.16)
|
|
|
|
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
|
project(dht_temp)
|
|
|
|
# Add client certificate, private key and CA bundle to project:
|
|
target_add_binary_data(${CMAKE_PROJECT_NAME}.elf "assets/client.crt" TEXT)
|
|
target_add_binary_data(${CMAKE_PROJECT_NAME}.elf "assets/client.key" TEXT)
|