/[projects]/dao/DelphiScanner/BuildVariants.cmd
ViewVC logotype

Contents of /dao/DelphiScanner/BuildVariants.cmd

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2779 - (show annotations) (download)
Tue Nov 24 15:33:32 2015 UTC (8 years, 5 months ago) by torben
File size: 2597 byte(s)
Mere automatisering af bygning af varianterne
1 @echo off
2
3 REM Dette program skal køres fra "RAD Studio Command Prompt"
4
5 SET VER=6_1_1
6
7 REM cleaning files
8 DEL *.dcu /S
9 DEL *.exe /S
10
11 RMDIR Build /S /Q
12 MKDIR Build
13
14
15
16 SET DIST=BK
17 DEL *.dcu /S
18 SET DIR=Build\RuteLabels_ver%VER%_%DIST%_omdelinginfo
19 msbuild.exe RuteLabels.dproj /p:Config=Release;DCC_Define=STED_%DIST%
20 MKDIR %DIR%
21 MKDIR %DIR%\Docs
22 MKDIR %DIR%\Logs
23 MKDIR %DIR%\Sounds
24 COPY Docs\* %DIR%\Docs
25 COPY Sounds\* %DIR%\Sounds
26 COPY IniTemplates\%DIST%.ini %DIR%\RuteLabels.ini
27 MOVE RuteLabels.exe %DIR%
28
29
30 SET DIST=DBK
31 DEL *.dcu /S
32 SET DIR=Build\RuteLabels_ver%VER%_%DIST%_omdelinginfo
33 msbuild.exe RuteLabels.dproj /p:Config=Release;DCC_Define=STED_%DIST%
34 MKDIR %DIR%
35 MKDIR %DIR%\Docs
36 MKDIR %DIR%\Logs
37 MKDIR %DIR%\Sounds
38 COPY Docs\* %DIR%\Docs
39 COPY Sounds\* %DIR%\Sounds
40 COPY IniTemplates\%DIST%.ini %DIR%\RuteLabels.ini
41 MOVE RuteLabels.exe %DIR%
42
43
44 SET DIST=FD
45 DEL *.dcu /S
46 SET DIR=Build\RuteLabels_ver%VER%_%DIST%_omdelinginfo
47 msbuild.exe RuteLabels.dproj /p:Config=Release;DCC_Define=STED_%DIST%
48 MKDIR %DIR%
49 MKDIR %DIR%\Docs
50 MKDIR %DIR%\Logs
51 MKDIR %DIR%\Sounds
52 COPY Docs\* %DIR%\Docs
53 COPY Sounds\* %DIR%\Sounds
54 COPY IniTemplates\%DIST%.ini %DIR%\RuteLabels.ini
55 MOVE RuteLabels.exe %DIR%
56
57 SET DIST=NS
58 DEL *.dcu /S
59 SET DIR=Build\RuteLabels_ver%VER%_%DIST%_omdelinginfo
60 msbuild.exe RuteLabels.dproj /p:Config=Release;DCC_Define=STED_%DIST%
61 MKDIR %DIR%
62 MKDIR %DIR%\Docs
63 MKDIR %DIR%\Logs
64 MKDIR %DIR%\Sounds
65 COPY Docs\* %DIR%\Docs
66 COPY Sounds\* %DIR%\Sounds
67 COPY IniTemplates\%DIST%.ini %DIR%\RuteLabels.ini
68 MOVE RuteLabels.exe %DIR%
69
70
71 REM ---------------------------------------------------------------------------
72 REM BYG DAO varianter
73
74 SET DIST=DAO
75 DEL *.dcu /S
76
77 msbuild.exe RuteLabels.dproj /p:Config=Release;DCC_Define=STED_%DIST%
78
79
80 SET DIR=Build\RuteLabels_ver%VER%_DAO_BRA_omdelinginfo
81 MKDIR %DIR%
82 MKDIR %DIR%\Docs
83 MKDIR %DIR%\Logs
84 MKDIR %DIR%\Sounds
85 COPY Docs\* %DIR%\Docs
86 COPY Sounds\* %DIR%\Sounds
87 COPY IniTemplates\BRA.ini %DIR%\RuteLabels.ini
88 COPY RuteLabels.exe %DIR%
89
90 SET DIR=Build\RuteLabels_ver%VER%_DAO_GLL_omdelinginfo
91 MKDIR %DIR%
92 MKDIR %DIR%\Docs
93 MKDIR %DIR%\Logs
94 MKDIR %DIR%\Sounds
95 COPY Docs\* %DIR%\Docs
96 COPY Sounds\* %DIR%\Sounds
97 COPY IniTemplates\GLL.ini %DIR%\RuteLabels.ini
98 COPY RuteLabels.exe %DIR%
99
100 SET DIR=Build\RuteLabels_ver%VER%_DAO_ALB_omdelinginfo
101 MKDIR %DIR%
102 MKDIR %DIR%\Docs
103 MKDIR %DIR%\Logs
104 MKDIR %DIR%\Sounds
105 COPY Docs\* %DIR%\Docs
106 COPY Sounds\* %DIR%\Sounds
107 COPY IniTemplates\GLL.ini %DIR%\RuteLabels.ini
108 COPY RuteLabels.exe %DIR%
109
110 DEL RuteLabels.exe

  ViewVC Help
Powered by ViewVC 1.1.20