CMakeLists.txt 515 B

123456789101112131415
  1. # wolfSSL Espressif Example Project CMakeLists.txt
  2. # v1.1
  3. #
  4. # The following lines of boilerplate have to be in your project's
  5. # CMakeLists in this exact order for cmake to work correctly
  6. cmake_minimum_required(VERSION 3.5)
  7. add_compile_options(-DWOLFSSL_ESP_NO_WATCHDOG=1)
  8. include($ENV{IDF_PATH}/tools/cmake/project.cmake)
  9. # Not only is a project-level "set(COMPONENTS" not needed here, this will cause
  10. # an unintuitive error about Unknown CMake command "esptool_py_flash_project_args".
  11. project(wolfssl_test)