34 lines
873 B
CMake
34 lines
873 B
CMake
# wolfSSL Espressif Example Project CMakeLists.txt
|
|
# v1.0
|
|
#
|
|
# The following lines of boilerplate have to be in your project's
|
|
# CMakeLists in this exact order for cmake to work correctly
|
|
cmake_minimum_required(VERSION 3.16)
|
|
|
|
# The wolfSSL CMake file should be able to find the source code.
|
|
# Otherwise, assign an environment variable or set it here:
|
|
#
|
|
# set(WOLFSSL_ROOT "~/workspace/wolfssl-other-source")
|
|
#
|
|
# Optional WOLFSSL_CMAKE_SYSTEM_NAME detection to find
|
|
# USE_MY_PRIVATE_CONFIG path for my_private_config.h
|
|
#
|
|
# Expected path varies:
|
|
#
|
|
# WSL: /mnt/c/workspace
|
|
# Linux: ~/workspace
|
|
# Windows: C:\workspace
|
|
#
|
|
|
|
# Optionally specify a location for wolfSSL component source code
|
|
# set(WOLFSSL_ROOT "c:/test/blogtest/wolfssl" )
|
|
|
|
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
|
|
|
set(COMPONENTS
|
|
main
|
|
wolfssl
|
|
) # set components
|
|
|
|
project(wolfssl_benchmark)
|