-
Notifications
You must be signed in to change notification settings - Fork 0
/
Build.bat
156 lines (138 loc) · 6.99 KB
/
Build.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
@echo off
set config=Debug
:DelphiXE
echo.
echo Building for Delphi XE
echo.
if exist "C:\Program Files (x86)\Embarcadero\RAD Studio\8.0\bin\rsvars.bat" (
call "C:\Program Files (x86)\Embarcadero\RAD Studio\8.0\bin\rsvars.bat"
msbuild Packages\DelphiXE\Spring4D.groupproj /target:build /p:DCC_BuildAllUnits=true /p:Config=%config% /p:Platform=Win32 /verbosity:quiet
)
:DelphiXE2
echo.
echo Building for Delphi XE2
echo.
if exist "C:\Program Files (x86)\Embarcadero\RAD Studio\9.0\bin\rsvars.bat" (
call "C:\Program Files (x86)\Embarcadero\RAD Studio\9.0\bin\rsvars.bat"
msbuild Packages\DelphiXE2\Spring4D.groupproj /target:build /p:DCC_BuildAllUnits=true /p:Config=%config% /p:Platform=Win32 /verbosity:quiet
msbuild Packages\DelphiXE2\Spring4D.groupproj /target:build /p:DCC_BuildAllUnits=true /p:Config=%config% /p:Platform=Win64 /verbosity:quiet
)
:DelphiXE3
echo.
echo Building for Delphi XE3
echo.
if exist "C:\Program Files (x86)\Embarcadero\RAD Studio\10.0\bin\rsvars.bat" (
call "C:\Program Files (x86)\Embarcadero\RAD Studio\10.0\bin\rsvars.bat"
msbuild Packages\DelphiXE3\Spring4D.groupproj /target:build /p:DCC_BuildAllUnits=true /p:Config=%config% /p:Platform=Win32 /verbosity:quiet
msbuild Packages\DelphiXE3\Spring4D.groupproj /target:build /p:DCC_BuildAllUnits=true /p:Config=%config% /p:Platform=Win64 /verbosity:quiet
)
:DelphiXE4
echo.
echo Building for Delphi XE4
echo.
if exist "C:\Program Files (x86)\Embarcadero\RAD Studio\11.0\bin\rsvars.bat" (
call "C:\Program Files (x86)\Embarcadero\RAD Studio\11.0\bin\rsvars.bat"
msbuild Packages\DelphiXE4\Spring4D.groupproj /target:build /p:DCC_BuildAllUnits=true /p:Config=%config% /p:Platform=Win32 /verbosity:quiet
msbuild Packages\DelphiXE4\Spring4D.groupproj /target:build /p:DCC_BuildAllUnits=true /p:Config=%config% /p:Platform=Win64 /verbosity:quiet
)
:DelphiXE5
echo.
echo Building for Delphi XE5
echo.
if exist "C:\Program Files (x86)\Embarcadero\RAD Studio\12.0\bin\rsvars.bat" (
call "C:\Program Files (x86)\Embarcadero\RAD Studio\12.0\bin\rsvars.bat"
msbuild Packages\DelphiXE5\Spring4D.groupproj /target:build /p:DCC_BuildAllUnits=true /p:Config=%config% /p:Platform=Win32 /verbosity:quiet
msbuild Packages\DelphiXE5\Spring4D.groupproj /target:build /p:DCC_BuildAllUnits=true /p:Config=%config% /p:Platform=Win64 /verbosity:quiet
)
:DelphiXE6
echo.
echo Building for Delphi XE6
echo.
if exist "C:\Program Files (x86)\Embarcadero\Studio\14.0\bin\rsvars.bat" (
call "C:\Program Files (x86)\Embarcadero\Studio\14.0\bin\rsvars.bat"
msbuild Packages\DelphiXE6\Spring4D.groupproj /target:build /p:DCC_BuildAllUnits=true /p:Config=%config% /p:Platform=Win32 /verbosity:quiet
msbuild Packages\DelphiXE6\Spring4D.groupproj /target:build /p:DCC_BuildAllUnits=true /p:Config=%config% /p:Platform=Win64 /verbosity:quiet
)
:DelphiXE7
echo.
echo Building for Delphi XE7
echo.
if exist "C:\Program Files (x86)\Embarcadero\Studio\15.0\bin\rsvars.bat" (
call "C:\Program Files (x86)\Embarcadero\Studio\15.0\bin\rsvars.bat"
msbuild Packages\DelphiXE7\Spring4D.groupproj /target:build /p:DCC_BuildAllUnits=true /p:Config=%config% /p:Platform=Win32 /verbosity:quiet
msbuild Packages\DelphiXE7\Spring4D.groupproj /target:build /p:DCC_BuildAllUnits=true /p:Config=%config% /p:Platform=Win64 /verbosity:quiet
)
:DelphiXE8
echo.
echo Building for Delphi XE8
echo.
if exist "C:\Program Files (x86)\Embarcadero\Studio\16.0\bin\rsvars.bat" (
call "C:\Program Files (x86)\Embarcadero\Studio\16.0\bin\rsvars.bat"
msbuild Packages\DelphiXE8\Spring4D.groupproj /target:build /p:DCC_BuildAllUnits=true /p:Config=%config% /p:Platform=Win32 /verbosity:quiet
msbuild Packages\DelphiXE8\Spring4D.groupproj /target:build /p:DCC_BuildAllUnits=true /p:Config=%config% /p:Platform=Win64 /verbosity:quiet
)
:Delphi10
echo.
echo Building for Delphi 10
echo.
if exist "C:\Program Files (x86)\Embarcadero\Studio\17.0\bin\rsvars.bat" (
call "C:\Program Files (x86)\Embarcadero\Studio\17.0\bin\rsvars.bat"
msbuild Packages\Delphi10Seattle\Spring4D.groupproj /target:build /p:DCC_BuildAllUnits=true /p:Config=%config% /p:Platform=Win32 /verbosity:quiet
msbuild Packages\Delphi10Seattle\Spring4D.groupproj /target:build /p:DCC_BuildAllUnits=true /p:Config=%config% /p:Platform=Win64 /verbosity:quiet
)
:Delphi101
echo.
echo Building for Delphi 10.1
echo.
if exist "C:\Program Files (x86)\Embarcadero\Studio\18.0\bin\rsvars.bat" (
call "C:\Program Files (x86)\Embarcadero\Studio\18.0\bin\rsvars.bat"
msbuild Packages\Delphi10Berlin\Spring4D.groupproj /target:build /p:DCC_BuildAllUnits=true /p:Config=%config% /p:Platform=Win32 /verbosity:quiet
msbuild Packages\Delphi10Berlin\Spring4D.groupproj /target:build /p:DCC_BuildAllUnits=true /p:Config=%config% /p:Platform=Win64 /verbosity:quiet
)
:Delphi102
echo.
echo Building for Delphi 10.2
echo.
if exist "C:\Program Files (x86)\Embarcadero\Studio\19.0\bin\rsvars.bat" (
call "C:\Program Files (x86)\Embarcadero\Studio\19.0\bin\rsvars.bat"
msbuild Packages\Delphi10Tokyo\Spring4D.groupproj /target:build /p:DCC_BuildAllUnits=true /p:Config=%config% /p:Platform=Win32 /verbosity:quiet
msbuild Packages\Delphi10Tokyo\Spring4D.groupproj /target:build /p:DCC_BuildAllUnits=true /p:Config=%config% /p:Platform=Win64 /verbosity:quiet
)
:Delphi103
echo.
echo Building for Delphi 10.3
echo.
if exist "C:\Program Files (x86)\Embarcadero\Studio\20.0\bin\rsvars.bat" (
call "C:\Program Files (x86)\Embarcadero\Studio\20.0\bin\rsvars.bat"
msbuild Packages\Delphi10Rio\Spring4D.groupproj /target:build /p:DCC_BuildAllUnits=true /p:Config=%config% /p:Platform=Win32 /verbosity:quiet
msbuild Packages\Delphi10Rio\Spring4D.groupproj /target:build /p:DCC_BuildAllUnits=true /p:Config=%config% /p:Platform=Win64 /verbosity:quiet
)
:Delphi104
echo.
echo Building for Delphi 10.4
echo.
if exist "C:\Program Files (x86)\Embarcadero\Studio\21.0\bin\rsvars.bat" (
call "C:\Program Files (x86)\Embarcadero\Studio\21.0\bin\rsvars.bat"
msbuild Packages\Delphi10Sydney\Spring4D.groupproj /target:build /p:DCC_BuildAllUnits=true /p:Config=%config% /p:Platform=Win32 /verbosity:quiet
msbuild Packages\Delphi10Sydney\Spring4D.groupproj /target:build /p:DCC_BuildAllUnits=true /p:Config=%config% /p:Platform=Win64 /verbosity:quiet
)
:Delphi11
echo.
echo Building for Delphi 11
echo.
if exist "C:\Program Files (x86)\Embarcadero\Studio\22.0\bin\rsvars.bat" (
call "C:\Program Files (x86)\Embarcadero\Studio\22.0\bin\rsvars.bat"
msbuild Packages\Delphi11\Spring4D.groupproj /target:build /p:DCC_BuildAllUnits=true /p:Config=%config% /p:Platform=Win32 /verbosity:quiet
msbuild Packages\Delphi11\Spring4D.groupproj /target:build /p:DCC_BuildAllUnits=true /p:Config=%config% /p:Platform=Win64 /verbosity:quiet
)
:Delphi12
echo.
echo Building for Delphi 12
echo.
if exist "C:\Program Files (x86)\Embarcadero\Studio\23.0\bin\rsvars.bat" (
call "C:\Program Files (x86)\Embarcadero\Studio\23.0\bin\rsvars.bat"
msbuild Packages\Delphi12\Spring4D.groupproj /target:build /p:DCC_BuildAllUnits=true /p:Config=%config% /p:Platform=Win32 /verbosity:quiet
msbuild Packages\Delphi12\Spring4D.groupproj /target:build /p:DCC_BuildAllUnits=true /p:Config=%config% /p:Platform=Win64 /verbosity:quiet
)
:Exit
rem pause