[ 2006/12/16 01:00 | by turbozv ]
|
告别人工编译时代,嘿嘿~
@echo off
set VERSION=V2.2
set VCBUILD_PATH=D:\Program Files\Microsoft Visual Studio 8\VC\vcpackages
set EVC3_PATH=D:\Program Files\Microsoft eMbedded Tools\Common\EVC\Bin
set WINRAR_PATH=C:\Program Files\WinRAR
rem =======================================================================
set PATH=%VCBUILD_PATH%;%WINRAR_PATH%;%EVC3_PATH%;PATH
echo "Preparing building envirnment..."
rd /s /q HandCalendar
unrar x HC_Release.rar
copy festivals.txt HandCalendar
copy README.txt HandCalendar
echo "Building PPC2002..."
set FILENAME=HandCalendar.%VERSION%.PPC2002.rar
evc HandCalendar.vcw /MAKE ALL /REBUILD
rar a %FILENAME% HandCalendar
evc HandCalendar.vcw /MAKE ALL /CLEAN
echo "Building PPC2003..."
set FILENAME=HandCalendar.%VERSION%.PPC2003.rar
vcbuild "HandCalendar.vcproj" /r "Release|Pocket PC 2003 (ARMV4)"
vcbuild "todayPlugin\TodayPlugin.vcproj" /r "Release|Pocket PC 2003 (ARMV4)"
rar a %FILENAME% HandCalendar
vcbuild "HandCalendar.sln" /c
echo "Building WM5..."
set FILENAME=HandCalendar.%VERSION%.WM5.rar
vcbuild "HandCalendar.vcproj" /r "Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)"
vcbuild "todayPlugin\TodayPlugin.vcproj" /r "Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)"
rar a %FILENAME% HandCalendar
vcbuild "HandCalendar.sln" /c
echo "Cleaning..."
rd /s /q HandCalendar
rd /s /q ARMRel
rd /s /q "Pocket PC 2003 (ARMV4)"
rd /s /q "Windows Mobile 5.0 Pocket PC SDK (ARMV4I)"
echo "Done..."
set VERSION=V2.2
set VCBUILD_PATH=D:\Program Files\Microsoft Visual Studio 8\VC\vcpackages
set EVC3_PATH=D:\Program Files\Microsoft eMbedded Tools\Common\EVC\Bin
set WINRAR_PATH=C:\Program Files\WinRAR
rem =======================================================================
set PATH=%VCBUILD_PATH%;%WINRAR_PATH%;%EVC3_PATH%;PATH
echo "Preparing building envirnment..."
rd /s /q HandCalendar
unrar x HC_Release.rar
copy festivals.txt HandCalendar
copy README.txt HandCalendar
echo "Building PPC2002..."
set FILENAME=HandCalendar.%VERSION%.PPC2002.rar
evc HandCalendar.vcw /MAKE ALL /REBUILD
rar a %FILENAME% HandCalendar
evc HandCalendar.vcw /MAKE ALL /CLEAN
echo "Building PPC2003..."
set FILENAME=HandCalendar.%VERSION%.PPC2003.rar
vcbuild "HandCalendar.vcproj" /r "Release|Pocket PC 2003 (ARMV4)"
vcbuild "todayPlugin\TodayPlugin.vcproj" /r "Release|Pocket PC 2003 (ARMV4)"
rar a %FILENAME% HandCalendar
vcbuild "HandCalendar.sln" /c
echo "Building WM5..."
set FILENAME=HandCalendar.%VERSION%.WM5.rar
vcbuild "HandCalendar.vcproj" /r "Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)"
vcbuild "todayPlugin\TodayPlugin.vcproj" /r "Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)"
rar a %FILENAME% HandCalendar
vcbuild "HandCalendar.sln" /c
echo "Cleaning..."
rd /s /q HandCalendar
rd /s /q ARMRel
rd /s /q "Pocket PC 2003 (ARMV4)"
rd /s /q "Windows Mobile 5.0 Pocket PC SDK (ARMV4I)"
echo "Done..."
yxl
2006/12/19 06:45
strong
bur
2006/12/17 05:33
cool
分页: 1/1 1