esp-idf/examples/build_system/cmake/linux_host_app
..
main
CMakeLists.txt
README.md
sdkconfig.defaults

README.md

Supported Targets Linux

Build

idf.py build (sdkconfig.defaults sets the linux target by default)

Run

build/linux_host_app.elf