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

4 lines
166 B
Bash
Raw Normal View History

#!/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 .