mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-09 20:41:14 +00:00
cmake: Add CMakeLists.txt files for all examples
Generating using convert_to_cmake.py, with some minor cleanup
This commit is contained in:

committed by
Angus Gratton

parent
9d88d13f77
commit
800bffb8b0
14
examples/protocols/https_request/CMakeLists.txt
Normal file
14
examples/protocols/https_request/CMakeLists.txt
Normal file
@@ -0,0 +1,14 @@
|
||||
# The following five 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/https_request_example_main.c)
|
||||
|
||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||
project(https_request)
|
||||
|
||||
# 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(https_request.elf
|
||||
"main/server_root_cert.pem" TEXT)
|
Reference in New Issue
Block a user