cmake: make main a component again

This commit is contained in:
Renz Bagaporo
2018-09-13 08:52:32 +08:00
parent 8e20c13348
commit 7edf2bf66c
241 changed files with 1492 additions and 623 deletions

View File

@@ -0,0 +1,10 @@
set(COMPONENT_SRCS "https_request_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()