-
Notifications
You must be signed in to change notification settings - Fork 73
/
Demo_Build.bat
200 lines (164 loc) · 5.48 KB
/
Demo_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
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
@SET ORGPATH=%PATH%
IF %1% LEQ 13 GOTO RADSTUDIO
GOTO STUDIO
:RADSTUDIO
IF EXIST "c:\Program Files (x86)\Embarcadero\RAD Studio\%1.0\bin\rsvars.bat" GOTO INITRADSTUDIO
ECHO ...\Embarcadero\RAD Studio\%1.0\bin\rsvars.bat was not found.
GOTO DONE
:STUDIO
IF EXIST "c:\Program Files (x86)\Embarcadero\Studio\%1.0\bin\rsvars.bat" GOTO INITSTUDIO
ECHO ...\Embarcadero\Studio\%1.0\bin\rsvars.bat was not found.
GOTO DONE
:INITRADSTUDIO
call "%c:\Program Files (x86)\Embarcadero\RAD Studio\%1.0\bin\rsvars.bat"
GOTO INIT
:INITSTUDIO
call "c:\Program Files (x86)\Embarcadero\Studio\%1.0\bin\rsvars.bat"
GOTO INIT
:INIT
msbuild.exe "Samples\List SMBIOS Tables\SMBiosTables.dproj" /target:Clean;Build /p:Platform=Win32 /p:config=debug
set BUILD_STATUS=%ERRORLEVEL%
if %BUILD_STATUS%==0 GOTO 1
pause
EXIT
:1
msbuild.exe "Samples\Table 0 Bios Info\BIOSInfo.dproj" /target:Clean;Build /p:Platform=Win32 /p:config=debug
set BUILD_STATUS=%ERRORLEVEL%
if %BUILD_STATUS%==0 GOTO 2
pause
EXIT
:2
msbuild.exe "Samples\Table 1 System Info\SystemInfo.dproj" /target:Clean;Build /p:Platform=Win32 /p:config=debug
set BUILD_STATUS=%ERRORLEVEL%
if %BUILD_STATUS%==0 GOTO 3
pause
EXIT
:3
msbuild.exe "Samples\Table 2 Base Board Information\BaseBoardInformation.dproj" /target:Clean;Build /p:Platform=Win32 /p:config=debug
set BUILD_STATUS=%ERRORLEVEL%
if %BUILD_STATUS%==0 GOTO 4
pause
EXIT
:4
msbuild.exe "Samples\Table 3 Enclosure Information\EnclosureInfo.dproj" /target:Clean;Build /p:Platform=Win32 /p:config=debug
set BUILD_STATUS=%ERRORLEVEL%
if %BUILD_STATUS%==0 GOTO 5
pause
EXIT
:5
msbuild.exe "Samples\Table 4 Processor Information\ProcessorInformation.dproj" /target:Clean;Build /p:Platform=Win32 /p:config=debug
set BUILD_STATUS=%ERRORLEVEL%
if %BUILD_STATUS%==0 GOTO 6
pause
EXIT
:6
msbuild.exe "Samples\Table 5 Memory Controller Information\MemoryControllerInfo.dproj" /target:Clean;Build /p:Platform=Win32 /p:config=debug
set BUILD_STATUS=%ERRORLEVEL%
if %BUILD_STATUS%==0 GOTO 7
pause
EXIT
:7
msbuild.exe "Samples\Table 6 Memory Module Information\MemoryModuleInfo.dproj" /target:Clean;Build /p:Platform=Win32 /p:config=debug
set BUILD_STATUS=%ERRORLEVEL%
if %BUILD_STATUS%==0 GOTO 8
pause
EXIT
:8
msbuild.exe "Samples\Table 8 Port Connector Information\PortConnectorInfo.dproj" /target:Clean;Build /p:Platform=Win32 /p:config=debug
set BUILD_STATUS=%ERRORLEVEL%
if %BUILD_STATUS%==0 GOTO 9
pause
EXIT
:9
msbuild.exe "Samples\Table 9 System Slots Information\SystemSlotsInfo.dproj" /target:Clean;Build /p:Platform=Win32 /p:config=debug
set BUILD_STATUS=%ERRORLEVEL%
if %BUILD_STATUS%==0 GOTO 10
pause
EXIT
:10
msbuild.exe "Samples\Table 10 Onboard System Information\OnboardSystemInfo.dproj" /target:Clean;Build /p:Platform=Win32 /p:config=debug
set BUILD_STATUS=%ERRORLEVEL%
if %BUILD_STATUS%==0 GOTO 11
pause
EXIT
:11
msbuild.exe "Samples\Table 12 System Configuration Options\SystemConfInfo.dproj" /target:Clean;Build /p:Platform=Win32 /p:config=debug
set BUILD_STATUS=%ERRORLEVEL%
if %BUILD_STATUS%==0 GOTO 12
pause
EXIT
:12
msbuild.exe "Samples\Table 13 BIOS Language Information\BIOSLanguageInfo.dproj" /target:Clean;Build /p:Platform=Win32 /p:config=debug
set BUILD_STATUS=%ERRORLEVEL%
if %BUILD_STATUS%==0 GOTO 13
pause
EXIT
:13
msbuild.exe "Samples\Table 14 Group Associations\GroupAssociations.dproj" /target:Clean;Build /p:Platform=Win32 /p:config=debug
set BUILD_STATUS=%ERRORLEVEL%
if %BUILD_STATUS%==0 GOTO 14
pause
EXIT
:14
msbuild.exe "Samples\Table 16 Physical Memory Array\PhysicalMemArrayInfo.dproj" /target:Clean;Build /p:Platform=Win32 /p:config=debug
set BUILD_STATUS=%ERRORLEVEL%
if %BUILD_STATUS%==0 GOTO 15
pause
EXIT
:15
msbuild.exe "Samples\Table 17 Memory Device\MemoryDeviceInfo.dproj" /target:Clean;Build /p:Platform=Win32 /p:config=debug
set BUILD_STATUS=%ERRORLEVEL%
if %BUILD_STATUS%==0 GOTO 16
pause
EXIT
:16
msbuild.exe "Samples\Table 19 Memory Array Mapped Address\MemArrayMappedInfo.dproj" /target:Clean;Build /p:Platform=Win32 /p:config=debug
set BUILD_STATUS=%ERRORLEVEL%
if %BUILD_STATUS%==0 GOTO 17
pause
EXIT
:17
msbuild.exe "Samples\Table 20 Memory Device Mapped Address\MemDeviceMappedInfo.dproj" /target:Clean;Build /p:Platform=Win32 /p:config=debug
set BUILD_STATUS=%ERRORLEVEL%
if %BUILD_STATUS%==0 GOTO 18
pause
EXIT
:18
msbuild.exe "Samples\Table 21 Built-in Pointing Device Information\PointingDevice.dproj" /target:Clean;Build /p:Platform=Win32 /p:config=debug
set BUILD_STATUS=%ERRORLEVEL%
if %BUILD_STATUS%==0 GOTO 19
pause
EXIT
:19
msbuild.exe "Samples\Table 22 Battery Information\BatteryInfo.dproj" /target:Clean;Build /p:Platform=Win32 /p:config=debug
set BUILD_STATUS=%ERRORLEVEL%
if %BUILD_STATUS%==0 GOTO 20
pause
EXIT
:20
msbuild.exe "Samples\Table 26 Voltage Probe Information\VoltageProbeInfo.dproj" /target:Clean;Build /p:Platform=Win32 /p:config=debug
set BUILD_STATUS=%ERRORLEVEL%
if %BUILD_STATUS%==0 GOTO 21
pause
EXIT
:21
msbuild.exe "Samples\Table 27 Cooling Device Information\CoolingDeviceInfo.dproj" /target:Clean;Build /p:Platform=Win32 /p:config=debug
set BUILD_STATUS=%ERRORLEVEL%
if %BUILD_STATUS%==0 GOTO 22
pause
EXIT
:22
msbuild.exe "Samples\Table 28 Temperature Probe Information\TemperatureProbeInfo.dproj" /target:Clean;Build /p:Platform=Win32 /p:config=debug
set BUILD_STATUS=%ERRORLEVEL%
if %BUILD_STATUS%==0 GOTO 23
pause
EXIT
:23
msbuild.exe "Samples\Table 29 Electrical Current Probe Information\ElectricalProbeInfo.dproj" /target:Clean;Build /p:Platform=Win32 /p:config=debug
set BUILD_STATUS=%ERRORLEVEL%
if %BUILD_STATUS%==0 GOTO DONE
pause
EXIT
:DONE
@SET PATH=%ORGPATH%
REM pause