summaryrefslogtreecommitdiffstats
path: root/configure.bat
blob: 503b47b84778d7b038cb6052dc2a7574492c8e24 (plain)
1
2
3
4
5
6
7
8
9
REM Set the MinGW environment variables.
if "%MINGW_BIN%"=="" mingwenv.bat

REM Delete the CMake cache. Needed when changes on the CMakeLists should be applied in a consistent way.
del CMakeCache.txt
rmdir /s /q CMakeFiles

REM Configure using the MinGW compiler chain.
cmake -D"CMAKE_SYSTEM_PREFIX_PATH:PATH=C:\MinGW64\mingw64\x86_64-w64-mingw32" -G "MinGW Makefiles" ..