diff --git a/build_win32.cmd b/build_win32.cmd index 8fb49b4a..79793c2e 100644 --- a/build_win32.cmd +++ b/build_win32.cmd @@ -11,6 +11,7 @@ SET QTDIR=%POKERTH_WIN32_LIB_DIR%\qt qmake DEFINES+=BOOST_USE_WINDOWS_H pokerth.pro mingw32-make release +if not errorlevel 0 exit /b %ERRORLEVEL% REM Add automatic packaging or copying here. mingw32-make distclean diff --git a/build_win64.cmd b/build_win64.cmd new file mode 100644 index 00000000..043fd5cd --- /dev/null +++ b/build_win64.cmd @@ -0,0 +1,17 @@ +@echo off +echo PokerTH Win mingw prepare build script version 1.0. +echo Copyright (C) 2010 Lothar May. License: GPL 2 or later +echo BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +echo FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. +echo. + +SET PATH=%POKERTH_WIN64_LIB_DIR%\qt\bin;%POKERTH_WIN64_LIB_DIR%\mingw64\bin;%PATH% +SET QMAKESPEC=win32-g++ +SET QTDIR=%POKERTH_WIN64_LIB_DIR%\qt + +qmake DEFINES+=BOOST_USE_WINDOWS_H pokerth.pro +mingw32-make release +if not errorlevel 0 exit /b %ERRORLEVEL% +REM Add automatic packaging or copying here. +mingw32-make distclean +