mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-08-06 07:00:05 +08:00
feat(examples): Add cmake compiler script for examples
This commit is contained in:
6
examples/peripherals/adc/CMakeLists.txt
Normal file
6
examples/peripherals/adc/CMakeLists.txt
Normal file
@ -0,0 +1,6 @@
|
||||
# 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)
|
||||
|
||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||
project(adc)
|
3
examples/peripherals/adc/main/CMakeLists.txt
Normal file
3
examples/peripherals/adc/main/CMakeLists.txt
Normal file
@ -0,0 +1,3 @@
|
||||
set(COMPONENT_SRCS "adc_example_main.c")
|
||||
|
||||
register_component()
|
Reference in New Issue
Block a user