MCUXpresso_MIMXRT1021xxxxx/boards/evkmimxrt1020/component_examples/flash_component/flexspi_nor/armgcc/build_flexspi_nor_release.bat
2022-08-23 23:00:33 +08:00

7 lines
389 B
Batchfile

if exist CMakeFiles (RD /s /Q CMakeFiles)
if exist Makefile (DEL /s /Q /F Makefile)
if exist cmake_install.cmake (DEL /s /Q /F cmake_install.cmake)
if exist CMakeCache.txt (DEL /s /Q /F CMakeCache.txt)
cmake -DCMAKE_TOOLCHAIN_FILE="../../../../../../tools/cmake_toolchain_files/armgcc.cmake" -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=flexspi_nor_release .
mingw32-make -j 2> build_log.txt