mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-09 12:35:28 +00:00
cmake: make main a component again
This commit is contained in:

committed by
Angus Gratton

parent
f9bed53ea2
commit
d9939cedd9
10
examples/protocols/https_mbedtls/main/CMakeLists.txt
Normal file
10
examples/protocols/https_mbedtls/main/CMakeLists.txt
Normal file
@@ -0,0 +1,10 @@
|
||||
set(COMPONENT_SRCS "https_mbedtls_example_main.c")
|
||||
set(COMPONENT_ADD_INCLUDEDIRS ".")
|
||||
|
||||
|
||||
# Embed the server root certificate into the final binary
|
||||
#
|
||||
# (If this was a component, we would set COMPONENT_EMBED_TXTFILES here.)
|
||||
set(COMPONENT_EMBED_TXTFILES server_root_cert.pem)
|
||||
|
||||
register_component()
|
Reference in New Issue
Block a user