diff options
| author | Luke Hoersten <[email protected]> | 2021-03-07 17:33:37 -0600 |
|---|---|---|
| committer | Luke Hoersten <[email protected]> | 2021-03-07 17:33:37 -0600 |
| commit | 8a7b9c6a1ce165c349cf06dda56d3a55fb5167b9 (patch) | |
| tree | e016c8ba5ebeb3282bb77ef0e328263c9a7e3d49 /CMakeLists.txt | |
Initial commit.
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..474ac99 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,12 @@ +cmake_minimum_required(VERSION 3.5) + +if(DEFINED ENV{HOMEKIT_PATH}) + set(HOMEKIT_PATH $ENV{HOMEKIT_PATH}) +else() + set(HOMEKIT_PATH ${CMAKE_CURRENT_LIST_DIR}/../..) +endif(DEFINED ENV{HOMEKIT_PATH}) + +set(EXTRA_COMPONENT_DIRS ${HOMEKIT_PATH}/components ${HOMEKIT_PATH}/components/homekit ${CMAKE_CURRENT_LIST_DIR}/../common) + +include($ENV{IDF_PATH}/tools/cmake/project.cmake) +project(esp-homekit-door) |
