mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-10 04:43:33 +00:00
cmake: make main a component again
This commit is contained in:

committed by
Angus Gratton

parent
f9bed53ea2
commit
d9939cedd9
@@ -2,13 +2,5 @@
|
||||
# CMakeLists in this exact order for cmake to work correctly
|
||||
cmake_minimum_required(VERSION 3.5)
|
||||
|
||||
set(MAIN_SRCS main/https_mbedtls_example_main.c)
|
||||
|
||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||
project(https-mbedtls)
|
||||
|
||||
# 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-mbedtls.elf
|
||||
"main/server_root_cert.pem" TEXT)
|
||||
project(https-mbedtls)
|
Reference in New Issue
Block a user