File: makewin.bat

package info (click to toggle)
psi 0.9.3-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 7,524 kB
  • ctags: 10,934
  • sloc: cpp: 81,408; ansic: 18,998; sh: 1,555; xml: 1,304; makefile: 165
file content (33 lines) | stat: -rw-r--r-- 619 bytes parent folder | download
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
@echo off

echo Running qmake ...
qmake psi.pro
if errorlevel 1 goto ERROR1
echo Compiling ...
nmake
if errorlevel 1 goto ERROR2

mkdir psiwin
copy src\psi.exe psiwin\Psi.exe
copy %QTDIR%\bin\qt-mt*.dll psiwin
copy cutestuff\idle\win32\idleui.dll psiwin
xcopy /e certs psiwin\certs\
xcopy /e iconsets psiwin\iconsets\
xcopy /e sound psiwin\sound\
copy COPYING psiwin
win32\tod README psiwin\Readme.txt
win32\tod INSTALL psiwin\Install.txt

echo 'psiwin' created successfully
goto END

:ERROR1
echo Error running qmake..  Are you sure you have Qt set up?
goto END

:ERROR2
echo Compile failed, stopping.
goto END

:END