ESP-Nodes/ESP32-Rainmaker-Switch/CMakeLists.txt
Alexandre B 49933ddb57
Some checks are pending
Deploy Jekyll with GitHub Pages dependencies preinstalled / build (push) Waiting to run
Deploy Jekyll with GitHub Pages dependencies preinstalled / deploy (push) Blocked by required conditions
.
2024-08-13 15:59:19 -04:00

18 lines
679 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})
# Add RainMaker components and other common application components
set(EXTRA_COMPONENT_DIRS ${RMAKER_PATH}/components/esp-insights/components ${RMAKER_PATH}/components ${RMAKER_PATH}/examples/common)
# Increase project version in order for OTA to work
set(PROJECT_VER "2.7")
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(ESP32-Rainmaker-Switch)