From 9e42f0a52ef1984d23899eb5b2d1aad58129065e Mon Sep 17 00:00:00 2001 From: lotodore Date: Sat, 9 Oct 2010 09:13:22 +0000 Subject: [PATCH] mingw-w64 build is working now :-). --- docs/win32_build_scripts/pokerth_build.cmd | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/win32_build_scripts/pokerth_build.cmd b/docs/win32_build_scripts/pokerth_build.cmd index 592fbd27..94eda24a 100644 --- a/docs/win32_build_scripts/pokerth_build.cmd +++ b/docs/win32_build_scripts/pokerth_build.cmd @@ -37,9 +37,11 @@ if not exist %PKTH_BaseDir%\svn\bin\svn.exe goto noSvn if not exist %PKTH_BaseDir%\pokerth goto otherScriptFirst if exist %PKTH_BaseDir%\mingw64\bin\mingw32-make.exe goto mingw64 SET PATH=%PKTH_BaseDir%\qt\bin;%PKTH_BaseDir%\mingw32\bin;%PATH% +SET PKTH_Conf="" goto postmingw :mingw64 SET PATH=%PKTH_BaseDir%\qt\bin;%PKTH_BaseDir%\mingw64\bin;%PATH% +SET PKTH_Conf=pkth_win64 :postmingw SET QMAKESPEC=win32-g++ SET QTDIR=%PKTH_BaseDir%\qt @@ -55,7 +57,7 @@ echo Running svn update %PKTH_BaseDir%\svn\bin\svn update echo. echo Building PokerTH -qmake CONFIG+=release DEFINES+=BOOST_USE_WINDOWS_H pokerth.pro +qmake "CONFIG+=release %PKTH_Conf%" DEFINES+=BOOST_USE_WINDOWS_H pokerth.pro mingw32-make release move release\pokerth.exe .\pokerth.exe move release\bin\pokerth_server.exe .\pokerth_server.exe