cmake_minimum_required(VERSION 3.16) # Firmware version = the first line of version.txt (edit it to release a new version). Reported by # esp_app_get_description() and in status.fw / GET /api/ota. Editing the file re-runs CMake. set_property(DIRECTORY APPEND PROPERTY CMAKE_CONFIGURE_DEPENDS ${CMAKE_CURRENT_LIST_DIR}/version.txt) file(STRINGS ${CMAKE_CURRENT_LIST_DIR}/version.txt PROJECT_VER LIMIT_COUNT 1) include($ENV{IDF_PATH}/tools/cmake/project.cmake) project(aes67_p4)