2 # https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html |
2 # https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html |
3 # The following five lines of boilerplate have to be in your project's |
3 # The following five lines of boilerplate have to be in your project's |
4 # CMakeLists in this exact order for cmake to work correctly |
4 # CMakeLists in this exact order for cmake to work correctly |
5 cmake_minimum_required(VERSION 3.16) |
5 cmake_minimum_required(VERSION 3.16) |
6 |
6 |
7 set(PROJECT_VER "0.0.1") |
7 set(PROJECT_VER "0.4.0") |
8 set(PROJECT_NAME "iotbalkon") |
8 set(PROJECT_NAME "iotbalkon") |
9 |
9 |
10 set(EXTRA_COMPONENT_DIRS esp-idf-lib/components) |
10 set(EXTRA_COMPONENT_DIRS esp-idf-lib/components) |
11 include($ENV{IDF_PATH}/tools/cmake/project.cmake) |
11 include($ENV{IDF_PATH}/tools/cmake/project.cmake) |
12 project(iotbalkon) |
12 project(iotbalkon) |