CMakeLists.txt 391 B

1234567
  1. # Embed the server root certificate into the final binary
  2. #
  3. # (If this was a component, we would set COMPONENT_EMBED_TXTFILES here.)
  4. idf_component_register(SRCS "https_request_example_main.c" "time_sync.c"
  5. INCLUDE_DIRS "include"
  6. EMBED_TXTFILES server_root_cert.pem local_server_cert.pem)
  7. target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-format")