⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 build.bat

📁 《使用wxWidgets进行跨平台程序开发》一书中提到的所有的例子源码
💻 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 + -