cmake: make main a component again

This commit is contained in:
Renz Christian Bagaporo
2018-09-11 09:44:12 +08:00
committed by Angus Gratton
parent f9bed53ea2
commit d9939cedd9
282 changed files with 1740 additions and 673 deletions

View 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()