i2pd/contrib/build_mingw.cmd

25 lines
569 B
Batchfile
Raw Normal View History

@echo off
2017-03-17 20:59:10 +03:00
setlocal
2017-03-17 20:59:10 +03:00
title Building i2pd
set "WD=C:\msys64\usr\bin\"
set MSYS2_PATH_TYPE=inherit
set CHERE_INVOKING=enabled_from_arguments
2017-03-17 20:59:10 +03:00
set MSYSCON=
2017-03-17 20:59:10 +03:00
echo Building i2pd for win32. Press Enter after the end of compilation...
set MSYSTEM=MINGW32
set CONTITLE=MinGW x32
start "%CONTITLE%" /WAIT "%WD%bash" --login build_mingw.sh
pause > nul
2017-03-17 20:59:10 +03:00
echo Building i2pd for win64. Press Enter after the end of compilation...
set MSYSTEM=MINGW64
set CONTITLE=MinGW x64
start "%CONTITLE%" /WAIT "%WD%bash" --login build_mingw.sh
pause > nul
2017-03-17 20:59:10 +03:00
echo Build complete...
pause
exit /b 0