cmake: Add missing example CMakeLists.txt files, CI check all examples have both

This commit is contained in:
Angus Gratton
2018-08-28 11:10:48 +08:00
committed by Angus Gratton
parent 49a910adfb
commit 5689e446dc
37 changed files with 318 additions and 2 deletions

View File

@@ -0,0 +1,8 @@
# The following four 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)
set(MAIN_SRCS main/echo_server.cpp)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(asio_tcp_echo_server)

View File

@@ -0,0 +1,5 @@
set(COMPONENT_SRCDIRS ".")
set(COMPONENT_PRIV_REQUIRES asio nvs_flash console)
register_component()