mirror of
https://github.com/espressif/esp-rainmaker.git
synced 2026-01-14 15:35:45 +00:00
- Use led_indicator component from component manager for ws2812 and RGB LEDs - Add other components from examples/common via idf_component.yml instead of adding as EXTRA_COMPONENT_DIRS in CMakeLists.txt
14 lines
410 B
CMake
14 lines
410 B
CMake
# 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.5)
|
|
|
|
if(DEFINED ENV{RMAKER_PATH})
|
|
set(RMAKER_PATH $ENV{RMAKER_PATH})
|
|
else()
|
|
set(RMAKER_PATH ${CMAKE_CURRENT_LIST_DIR}/../..)
|
|
endif(DEFINED ENV{RMAKER_PATH})
|
|
|
|
set(PROJECT_VER "1.0")
|
|
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
|
project(switch)
|