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