File: build_win32.cmd

package info (click to toggle)
pokerth 1.1.2-1
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 57,920 kB
  • sloc: ansic: 83,615; cpp: 64,151; java: 3,135; xml: 596; sh: 221; makefile: 7
file content (20 lines) | stat: -rw-r--r-- 670 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
@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_WIN32_LIB_DIR%\qt\bin;%POKERTH_WIN32_LIB_DIR%\mingw32\bin;%PATH%
SET QMAKESPEC=win32-g++
SET QTDIR=%POKERTH_WIN32_LIB_DIR%\qt

if exist Makefile. (
	mingw32-make distclean
)
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