equal
deleted
inserted
replaced
|
1 # (Automatically converted from project Makefile by convert_to_cmake.py.) |
|
2 |
|
3 # The following lines of boilerplate have to be in your project's CMakeLists |
|
4 # in this exact order for cmake to work correctly |
|
5 cmake_minimum_required(VERSION 3.5) |
|
6 |
|
7 if(DEFINED ENV{HOMEKIT_PATH}) |
|
8 set(HOMEKIT_PATH $ENV{HOMEKIT_PATH}) |
|
9 else() |
|
10 set(HOMEKIT_PATH ${CMAKE_CURRENT_LIST_DIR}/../..) |
|
11 endif(DEFINED ENV{HOMEKIT_PATH}) |
|
12 |
|
13 set(EXTRA_COMPONENT_DIRS ${HOMEKIT_PATH}/components ${HOMEKIT_PATH}/components/homekit ${CMAKE_CURRENT_LIST_DIR}/../common) |
|
14 |
|
15 include($ENV{IDF_PATH}/tools/cmake/project.cmake) |
|
16 project(door) |