-
Notifications
You must be signed in to change notification settings - Fork 16
/
build.mingw.bat
37 lines (31 loc) · 1.49 KB
/
build.mingw.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
@ECHO OFF
REM ***************
REM * èìÿ ïðîåêòà *
REM ***************
SET PROJECT_NAME=avalon
REM **************************
REM * èñïîëíÿåìûé ôàéë qmake *
REM **************************
SET QT_QMAKE=c:\projects\qt\bin\qmake.exe
REM **************************************************
REM * ïóòü ê ïîäêëþ÷àåìûì ôàéëàì è áèáëèîòåêå aspell *
REM * äîìàøíÿÿ ñòðàíèöà: http://aspell.net/win32/ *
REM **************************************************
SET ASPELL_INC=c:\projects\aspell\include
SET ASPELL_LIB=c:\projects\aspell\lib\aspell-15.lib
REM *****************************************************************
REM * ïóòü ê ïîäêëþ÷àåìûì ôàéëàì è áèáëèîòåêå zlib (ñòàòèêà) *
REM * äîìàøíÿÿ ñòðàíèöà: http://www.winimage.com/zLibDll/index.html *
REM *****************************************************************
SET ZLIB_LIB=c:\projects\zlib\lib\static32\zlibstat.lib
SET ZLIB_INC=c:\projects\zlib\include
REM *******************************
REM * ñîçäàíèå ïðîåêòà è makefile *
REM *******************************
%QT_QMAKE% -project -recursive -Wall -nopwd -o %PROJECT_NAME%.pro "CONFIG += release" "QT += network sql webkit" "INCLUDEPATH += %ASPELL_INC% %ZLIB_INC% src" "LIBS += %ASPELL_LIB% %ZLIB_LIB%" "RC_FILE += src/resource.rc" src
%QT_QMAKE% %PROJECT_NAME%.pro
REM ******************************************
REM * ñáîðêà (êîíñîëü äîëæíà áûòü çàïóùåíà â *
REM * Qt Command Prompt) *
REM ******************************************
mingw32-make.exe