Do not encode the lib path in the build bot, instead set it as environment variable.
This commit is contained in:
+3
-3
@@ -5,12 +5,12 @@ 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 FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
|
||||||
echo.
|
echo.
|
||||||
|
|
||||||
SET PKTH_BaseDir=%1
|
SET PATH=%POKERTH_WIN32_LIB_DIR%\qt\bin;%POKERTH_WIN32_LIB_DIR%\mingw32\bin;%PATH%
|
||||||
SET PATH=%PKTH_BaseDir%\qt\bin;%PKTH_BaseDir%\mingw32\bin;%PATH%
|
|
||||||
SET QMAKESPEC=win32-g++
|
SET QMAKESPEC=win32-g++
|
||||||
SET QTDIR=%PKTH_BaseDir%\qt
|
SET QTDIR=%POKERTH_WIN32_LIB_DIR%\qt
|
||||||
|
|
||||||
qmake DEFINES+=BOOST_USE_WINDOWS_H pokerth.pro
|
qmake DEFINES+=BOOST_USE_WINDOWS_H pokerth.pro
|
||||||
mingw32-make release
|
mingw32-make release
|
||||||
REM Add automatic packaging or copying here.
|
REM Add automatic packaging or copying here.
|
||||||
mingw32-make distclean
|
mingw32-make distclean
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user