mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-17 23:28:15 +00:00

Currently, several examples do not explicitly state their component dependencies, relying instead on the default behavior that includes all registered components and commonly required ones in the build. Explicitly adding component dependencies can reduce build time when set(COMPONENTS main) is used. Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
8 lines
399 B
CMake
8 lines
399 B
CMake
# Embed the server root certificate into the final binary
|
|
#
|
|
# (If this was a component, we would set COMPONENT_EMBED_TXTFILES here.)
|
|
idf_component_register(SRCS "https_request_example_main.c" "time_sync.c"
|
|
INCLUDE_DIRS "include"
|
|
PRIV_REQUIRES esp-tls esp_wifi esp_timer nvs_flash
|
|
EMBED_TXTFILES server_root_cert.pem local_server_cert.pem)
|