2 set NSI_FILE=engrid.nsi
\r
4 REM compile new (in release mode!)
\r
5 REM C:\Qt\2009.03\bin\qtenv.bat
\r
6 echo Setting up a MinGW/Qt only environment...
\r
7 echo -- QTDIR set to C:\Qt\2009.03\qt
\r
8 echo -- PATH set to C:\Qt\2009.03\qt\bin
\r
9 echo -- Adding C:\Qt\2009.03\bin to PATH
\r
10 echo -- Adding %SystemRoot%\System32 to PATH
\r
11 echo -- QMAKESPEC set to win32-g++
\r
12 set QTDIR=C:\Qt\2009.03\qt
\r
13 set PATH=C:\Qt\2009.03\qt\bin
\r
14 set PATH=%PATH%;C:\Qt\2009.03\bin;C:\Qt\2009.03\mingw\bin
\r
15 set PATH=%PATH%;%SystemRoot%\System32
\r
16 set QMAKESPEC=win32-g++
\r
18 REM switch to netgen dir
\r
23 IF ERRORLEVEL 1 EXIT /B
\r
24 C:/Qt/2009.03/mingw/bin/mingw32-make distclean
\r
25 IF ERRORLEVEL 1 EXIT /B
\r
29 IF ERRORLEVEL 1 EXIT /B
\r
30 C:/Qt/2009.03/mingw/bin/mingw32-make -f Makefile.Release
\r
31 IF ERRORLEVEL 1 EXIT /B
\r
33 REM get back to engrid dir
\r
38 IF ERRORLEVEL 1 EXIT /B
\r
39 C:/Qt/2009.03/mingw/bin/mingw32-make distclean
\r
40 IF ERRORLEVEL 1 EXIT /B
\r
44 IF ERRORLEVEL 1 EXIT /B
\r
45 C:/Qt/2009.03/mingw/bin/mingw32-make -f Makefile.Release
\r
46 IF ERRORLEVEL 1 EXIT /B
\r
48 REM create setup for new
\r
49 "C:\Program Files\NSIS\makensis.exe" "%NSI_FILE%"
\r
50 IF ERRORLEVEL 1 EXIT /B
\r