summary refs log tree commit diff stats
path: root/build/build-x86.bat
diff options
context:
space:
mode:
authorberkeviktor@aol.com <berkeviktor@aol.com>2011-07-28 01:17:44 +0200
committerberkeviktor@aol.com <berkeviktor@aol.com>2011-07-28 01:17:44 +0200
commit88a9f72d177076566899884e5a2230ae25a1911f (patch)
tree3b56ef20553dc88f1b0fa419a7bd7a36c874f7e9 /build/build-x86.bat
parent1fa63a74016444efc1cc68bca26eb011865348d8 (diff)
parent96caff1fbdf201164339e5e94fde04d8cb7968e8 (diff)
Merge with default
Diffstat (limited to 'build/build-x86.bat')
-rw-r--r--build/build-x86.bat37
1 files changed, 37 insertions, 0 deletions
diff --git a/build/build-x86.bat b/build/build-x86.bat
new file mode 100644
index 00000000..c2df1c25
--- /dev/null
+++ b/build/build-x86.bat
@@ -0,0 +1,37 @@
+@echo off
+set PERL_512=c:\mozilla-build\perl-5.12-x86\perl
+set PERL_514=c:\mozilla-build\perl-5.14-x86
+echo [Setup] > xchat-wdk.iss
+echo WizardImageFile=%cd%\bitmaps\wizardimage.bmp >> xchat-wdk.iss
+echo WizardSmallImageFile=%cd%\bitmaps\wizardsmallimage.bmp >> xchat-wdk.iss
+cd ..
+echo SetupIconFile=%cd%\xchat.ico >> build\xchat-wdk.iss
+type build\xchat-wdk.skel.iss >> build\xchat-wdk.iss
+set DEV_32=%cd%\dep-x86
+cd src
+echo DEV = %DEV_32% > makeinc.mak
+type makeinc.skel.mak >> makeinc.mak
+set INCLUDE=%WDK_ROOT%\inc\api;%WDK_ROOT%\inc\crt;%WDK_ROOT%\inc\api\crt\stl70
+set LIB=%WDK_ROOT%\lib\wxp\i386;%WDK_ROOT%\lib\Crt\i386
+set OPATH=%PATH%
+set PATH=%PROGRAMFILES(X86)%\Microsoft Visual Studio 10.0\VC\bin;%PROGRAMFILES(X86)%\Microsoft Visual Studio 10.0\Common7\IDE;%PROGRAMFILES(X86)%\Microsoft SDKs\Windows\v7.0A\Bin;%DEV_32%\bin
+nmake /nologo /f makefile.mak clean
+cd pixmaps
+nmake /nologo /f makefile.mak
+cd ..
+nmake /nologo /f makefile.mak
+cd ..\plugins
+nmake /nologo /f makefile.mak clean
+nmake /nologo /f makefile.mak
+cd perl
+set OOPATH=%PATH%
+set PATH=%OOPATH%;%PERL_512%\bin
+nmake /nologo /s /f makefile-512.mak clean
+nmake /nologo /s /f makefile-512.mak
+set PATH=%OOPATH%;%PERL_514%\bin
+nmake /nologo /s /f makefile-514.mak clean
+nmake /nologo /s /f makefile-514.mak
+cd ..\..\build
+call compile-po-files.bat
+set PATH=%OPATH%
+call release-x86.bat