devcpp-cmake-template/tools/gen.cmd

6 lines
120 B
Batchfile

set PATH=%~dp0cmake-wrapper;%PATH%
rd build /s/q
md build
cd build
call cmakew .. -G "MinGW Makefiles" && echo OK > gen