esp-idf/examples/build_system/cmake/idf_as_lib/build-esp32.sh
2019-05-14 18:01:14 +08:00

4 lines
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 .