惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

MongoDB | Blog
MongoDB | Blog
大猫的无限游戏
大猫的无限游戏
H
Help Net Security
V
Visual Studio Blog
G
Google Developers Blog
Blog — PlanetScale
Blog — PlanetScale
Last Week in AI
Last Week in AI
C
Check Point Blog
D
Docker
M
MIT News - Artificial intelligence
P
Proofpoint News Feed
博客园 - 叶小钗
博客园 - 聂微东
The Cloudflare Blog
云风的 BLOG
云风的 BLOG
Martin Fowler
Martin Fowler
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
酷 壳 – CoolShell
酷 壳 – CoolShell
MyScale Blog
MyScale Blog
WordPress大学
WordPress大学
Engineering at Meta
Engineering at Meta
腾讯CDC
S
SegmentFault 最新的问题
博客园 - 【当耐特】

博客园 - Icebird

谈谈批处理文件里的注释 在.NET中使用PhysFS来挂载压缩包(zip) 用户中心 - 博客园 Password for ReportBuilder Enterprise v10.08 Retail For Delphi 7-Lz0 [Delphi] DUnitID 0.17.4725 RSSReader JavaScript Edition [Delphi] GetClass与RegisterClass的应用一例 DelForEx v2.5 for Delphi 2007 我的Delphi开发经验谈 JBookManager v1.00.2008314 (编辑管理您的Jar电子书) Windows优化大师的一点研究 [Delphi] 发布QuickenPanel Component LINQ to JavaScript [PowerShell] SFV生成与校验 [PowerShell] 将rar文件转换为zip格式 [PowerShell] GBK简繁转换 [PowerShell] PowerShell学习脚印 JavaScript测试页面 备份工具 SmartBackup的源代码
DevExpress ExpressScheduler 快速编译批处理文件
Icebird · 2008-01-03 · via 博客园 - Icebird

手动安装DevExpress的控件包源代码实在是让人受不了,写了一个批处理快速的生成bpl, dcp,以及dcu

首先将ExpressScheduler 的源代码解压到一个目录。
将下面的代码保存为Build.bat (不能改成其它文件名),然后执行,等待,在Lib中就是所有的编译后的文件。

@echo off
if not exist Lib md Lib
set LIB=.\Lib

if not %1== N goto copy
call Build "ExpressGDI+ Library"
call Build "XP Theme Manager"
call Build "ExpressDataController"
call Build "ExpressEditors Library 5"
call Build "ExpressExport Library"
call Build "ExpressLibrary"
call Build "ExpressScheduler 2"

cd %LIB%
set Param=-$D- -B
dcc32 dxGDIPlusD7
.dpk %Param%
dcc32 dxThemeD7
.dpk %Param%
dcc32 cxDataD7
.dpk %Param%
dcc32 cxADOAdaptersD7
.dpk %Param%
dcc32 cxBDEAdaptersD7
.dpk %Param%
dcc32 cxIBXAdaptersD7
.dpk %Param%
dcc32 cxEditorsVCLD7
.dpk %Param%
dcc32 cxExtEditorsVCLD7
.dpk %Param%
dcc32 dclcxEditorsVCLD7
.dpk %Param%
dcc32 dclcxExtEditorsVCLD7
.dpk %Param%
dcc32 cxExportVCLD7
.dpk %Param%
dcc32 cxLibraryVCLD7
.dpk %Param%
dcc32 dclcxLibraryVCLD7
.dpk %Param%
dcc32 dclcxSchedulerVCLD7
.dpk %Param%
dcc32 cxSchedulerVCLD7
.dpk %Param%


del *.pas
del *.dpk
::del *.res
::
del *.dfm
del *.bpk
del *.bmp
del *.dcr
del *.cpp
del *.inc
pause
goto exit

:copy
if not exist %1 goto exit
cd %1
if exist Packages copy "Packages\*.*" .%LIB% /> nul
if exist Sources copy "Sources\*.*" .%LIB% /> nul
cd..

:exit

DevExpress的其余控件包,在这个上面只需要稍作修改即可适用。