# The following five 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.22)

file(READ "${CMAKE_SOURCE_DIR}/version.txt" PROJECT_VER)
string(STRIP "${PROJECT_VER}" PROJECT_VER)
add_compile_definitions(FW_VERSION=${PROJECT_VER})

include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(esp32)
