summaryrefslogtreecommitdiffstats
path: root/configure.bat
blob: 11adb9445a325e9e86ec18fa78e4356f3724e739 (plain)
1
2
3
4
5
6
7
8
9
REM Set the MinGW environment variables.
if "%MINGW_BIN%"=="" call 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" ..