mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-05-26 03:47:53 +08:00
feat(examples): Add cmake compiler script for examples
This commit is contained in:
6
examples/protocols/https_wolfssl/CMakeLists.txt
Normal file
6
examples/protocols/https_wolfssl/CMakeLists.txt
Normal file
@ -0,0 +1,6 @@
|
||||
# The following five 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.5)
|
||||
|
||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||
project(https_wolfssl)
|
10
examples/protocols/https_wolfssl/main/CMakeLists.txt
Normal file
10
examples/protocols/https_wolfssl/main/CMakeLists.txt
Normal file
@ -0,0 +1,10 @@
|
||||
set(COMPONENT_SRCS "https_wolfssl_example_main.c")
|
||||
set(COMPONENT_ADD_INCLUDEDIRS ".")
|
||||
|
||||
|
||||
# Embed the server root certificate into the final binary
|
||||
#
|
||||
# (If this was a component, we would set COMPONENT_EMBED_TXTFILES here.)
|
||||
set(COMPONENT_EMBED_TXTFILES server_root_cert.pem)
|
||||
|
||||
register_component()
|
Reference in New Issue
Block a user