2024-01-06 01:45:01 -05:00
|
|
|
# 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)
|
|
|
|
|
|
|
|
set(PROJECT_VER "1.0")
|
2024-01-06 23:26:33 -05:00
|
|
|
|
2024-01-06 01:45:01 -05:00
|
|
|
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
|
|
|
project(multi_device)
|