OVMS3-idf/examples/build_system/cmake/idf_as_lib/build.sh
2018-11-27 13:59:26 +08:00

8 lines
No EOL
327 B
Bash
Executable file

#!/bin/bash
#
# Build this example, which does not use that standard IDF app template. See README.md for
# more information about the build and how to run this example on the target once built.
mkdir build; cd build
cmake .. -DCMAKE_TOOLCHAIN_FILE=$IDF_PATH/tools/cmake/toolchain-esp32.cmake -DIDF_TARGET=esp32
cmake --build .