CMakeLists.txt 505 B

1234567891011121314
  1. # The following five lines of boilerplate have to be in your project's
  2. # CMakeLists in this exact order for cmake to work correctly
  3. cmake_minimum_required(VERSION 3.5)
  4. set(MAIN_SRCS main/https_mbedtls_example_main.c)
  5. include($ENV{IDF_PATH}/tools/cmake/project.cmake)
  6. project(https-mbedtls)
  7. # Embed the server root certificate into the final binary
  8. #
  9. # (If this was a component, we would set COMPONENT_EMBED_TXTFILES here.)
  10. target_add_binary_data(https-mbedtls.elf
  11. "main/server_root_cert.pem" TEXT)