?? build.bat
字號:
@echo off
REM
REM build.bat creates the CAB files
REM Note that when invoking the .ini file with AppMgr (e.g. via setup.exe),
REM you must use the full path, or ActiveSync will report an error with the setup.
REM
REM
REM You Must modify the following directories to point to the correct locations.
REM
set riffleDir=c:\projects\StartingBlocks\book\riffle
set riffleARMBinary="%riffleDir%\src\evc_wince_armv4\riffle.exe"
set fileRiffle="%riffleDir%\scripts\wince\riffle.inf"
set fileCabwiz="c:\program files\windows ce tools\wce420\pocket pc 2003\Tools\cabwiz.exe"
if not exist ARM_bins mkdir ARM_bins
if not exist %riffleARMBinary% goto NoBin
@echo "Copying binary to ARM_bins..."
copy %riffleARMBinary% ARM_bins
if not exist %fileRiffle% goto Usage
if not exist %fileCabwiz% goto Usage
@echo Building %fileCabwiz% %fileRiffle%
%fileCabwiz% %fileRiffle% /err riffle.err /cpu PPC2003_ARM
REM To make CABs for two CPUS, use this line and uncomment lines in the .inf file
REM %fileCabwiz% %fileRiffle% /err riffle.err /cpu PPC2003_ARM PPC2003_x86
@echo Copying setup files to the Deliver directory
if not exist Deliver mkdir Deliver
copy riffle.*.CAB Deliver
copy install.ini Deliver
copy riffle.ico Deliver
copy setup.exe Deliver
echo "Built: see the Deliver directory for the installation files."
goto Exit
:Usage
@echo ---
@echo Edit this batch file to point to the correct directories
@echo fileRiffle = %fileRiffle%
@echo fileCabwiz = %fileCabwiz%
@echo (these files are included in the Windows CE SDK)
@echo ---
goto Exit
:NoBin
@echo You need to build %riffleARMBinary%.
:Exit
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -