cmake_minimum_required(VERSION 3.16) # Firmware version = git describe (tags, dirty flag). Reported by esp_app_get_description() # and in status.fw / GET /api/ota. Re-run cmake (idf.py reconfigure) to pick up a new tag. execute_process( COMMAND git describe --tags --always --dirty WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR} OUTPUT_VARIABLE PROJECT_VER OUTPUT_STRIP_TRAILING_WHITESPACE ERROR_QUIET) if(NOT PROJECT_VER) set(PROJECT_VER "0.0.0-nogit") endif() include($ENV{IDF_PATH}/tools/cmake/project.cmake) project(aes67_p4)