set BUILD_PATH=build if not exist BUILD_PATH ( mkdir BUILD_PATH ) cd BUILD_PATH cmake -G "MinGW Makefiles" .. # install #mingw32-make