esp-idf/examples/build_system/cmake/idf_as_lib/build-esp32.sh

4 wiersze
166 B
Bash
Executable File

#!/bin/bash
rm -rf build && mkdir build && cd build
cmake .. -DCMAKE_TOOLCHAIN_FILE=$IDF_PATH/tools/cmake/toolchain-esp32.cmake -DTARGET=esp32 -GNinja
cmake --build .