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

5 wiersze
175 B
Bash
Executable File

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