CMakeLists.txt 873 B

123456789101112131415161718192021222324252627282930313233
  1. # wolfSSL Espressif Example Project CMakeLists.txt
  2. # v1.0
  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.16)
  7. # The wolfSSL CMake file should be able to find the source code.
  8. # Otherwise, assign an environment variable or set it here:
  9. #
  10. # set(WOLFSSL_ROOT "~/workspace/wolfssl-other-source")
  11. #
  12. # Optional WOLFSSL_CMAKE_SYSTEM_NAME detection to find
  13. # USE_MY_PRIVATE_CONFIG path for my_private_config.h
  14. #
  15. # Expected path varies:
  16. #
  17. # WSL: /mnt/c/workspace
  18. # Linux: ~/workspace
  19. # Windows: C:\workspace
  20. #
  21. # Optionally specify a location for wolfSSL component source code
  22. # set(WOLFSSL_ROOT "c:/test/blogtest/wolfssl" )
  23. include($ENV{IDF_PATH}/tools/cmake/project.cmake)
  24. set(COMPONENTS
  25. main
  26. wolfssl
  27. ) # set components
  28. project(wolfssl_benchmark)