Adding to root cmakelist.txt
cmake_minimum_required(VERSION 3.16.0)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(zzz)
target_add_binary_data(${COMPONENT_TARGET} "web/favicon.ico" BINARY)
Compile result
fatal: not a git repository (or any of the parent directories): .git
CMake Error at CMakeLists.txt:5 (target_add_binary_data):
target_add_binary_data Function invoked with incorrect arguments for
function named: target_add_binary_data
I have tried this before, this is why I asked if the docs are up to date.