Subversion Repositories DevTools

Rev

Rev 1710 | Rev 1716 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1710 Rev 1714
Line 1... Line 1...
1
<project name="bcpp-task">
1
<project name="bcpp-task">
2
 
2
 
3
	<!--	C O P Y R I G H T   N O T I C E
3
	<!--	C O P Y R I G H T   N O T I C E
4
			This material is confidential to ERG and may not be disclosed in whole 
4
			This material is confidential to ERG and may not be disclosed in whole
5
			or in part to any third party nor used in any manner whatsoever other
5
			or in part to any third party nor used in any manner whatsoever other
6
			than for the purposes expressly consented to by ERG in writing.
6
			than for the purposes expressly consented to by ERG in writing.
7
 
7
 
8
			This material is also copyright and may not be reproduced, stored in a
8
			This material is also copyright and may not be reproduced, stored in a
9
			retrieval system or transmitted in any form or by any means in whole or
9
			retrieval system or transmitted in any form or by any means in whole or
Line 11... Line 11...
11
	-->
11
	-->
12
 
12
 
13
	<!-- This is a Windows based compiler package, so include its standard environment -->
13
	<!-- This is a Windows based compiler package, so include its standard environment -->
14
	<using name="ant-cpptasks" version="REPLACE_ANT_CPPTASKS"/>
14
	<using name="ant-cpptasks" version="REPLACE_ANT_CPPTASKS"/>
15
	<using name="ant-windows" version="REPLACE_ANT_WINDOWS"/>
15
	<using name="ant-windows" version="REPLACE_ANT_WINDOWS"/>
16
       
16
 
17
	<!-- Include the Borland C++ Builder Compiler/Linker environment from its COTS package -->
17
	<!-- Include the Borland C++ Builder Compiler/Linker environment from its COTS package -->
18
	<using name="borland_bcb" version="REPLACE_BORLAND_BCB">
18
	<using name="borland_bcb" version="REPLACE_BORLAND_BCB"/>
19
	
-
 
20
		<exclude name="**/debug/*"   if="windows-release"/>
-
 
21
		<exclude name="**/release/*" if="windows-debug"/>
-
 
22
	</using>
-
 
23
 
19
 
24
	<!-- Set up the environment's Binary path, Include and Library paths -->
20
	<!-- Set up the environment's Binary path, Include and Library paths -->
25
	<property name="bcpp_bin" value="${using.borland_bcb.basedir}/bin"/>
21
	<property name="bcpp_bin" value="${using.borland_bcb.basedir}/bin"/>
26
	<property name="bcpp_compilername" value="bcc"/>
22
	<property name="bcpp_compilername" value="bcc"/>
27
	<property name="bcpp_include" value="${using.borland_bcb.basedir}/include"/>
23
	<property name="bcpp_include" value="${using.borland_bcb.basedir}/include"/>
Line 84... Line 80...
84
		<!--compilerarg value="-ps"/-->
80
		<!--compilerarg value="-ps"/-->
85
 
81
 
86
		<!-- Don't use register variables -->
82
		<!-- Don't use register variables -->
87
		<compilerarg value="-r-"/>
83
		<compilerarg value="-r-"/>
88
 
84
 
89
		
85
 
90
		<!-- Disable all optimizations -->
86
		<!-- Disable all optimizations -->
91
		<compilerarg value="-Od"/>
87
		<compilerarg value="-Od"/>
92
 
88
 
93
		<compilerarg value="-DNO_STRICT"/>
89
		<compilerarg value="-DNO_STRICT"/>
94
		<compilerarg value="-D_DEBUG"/>
90
		<compilerarg value="-D_DEBUG"/>
Line 142... Line 138...
142
		<!--compilerarg value="-ps"/-->
138
		<!--compilerarg value="-ps"/-->
143
 
139
 
144
		<!-- Don't use register variables -->
140
		<!-- Don't use register variables -->
145
		<compilerarg value="-r-"/>
141
		<compilerarg value="-r-"/>
146
 
142
 
147
		
143
 
148
		<!-- Disable all optimizations -->
144
		<!-- Disable all optimizations -->
149
		<compilerarg value="-Od"/>
145
		<compilerarg value="-Od"/>
150
 
146
 
151
		<compilerarg value="-DNO_STRICT"/>
147
		<compilerarg value="-DNO_STRICT"/>
152
		<compilerarg value="-D_DEBUG"/>
148
		<compilerarg value="-D_DEBUG"/>
Line 188... Line 184...
188
		<compilerarg value="-Q-"/>
184
		<compilerarg value="-Q-"/>
189
 
185
 
190
		<compilerarg value="-a8"/>
186
		<compilerarg value="-a8"/>
191
 
187
 
192
		<compilerarg value="-tWM"/>
188
		<compilerarg value="-tWM"/>
193
		
189
 
194
		<!-- Integer Enums -->
190
		<!-- Integer Enums -->
195
		<compilerarg value="-b"/>
191
		<compilerarg value="-b"/>
196
 
192
 
197
		<!-- Standard Stack Frames -->
193
		<!-- Standard Stack Frames -->
198
		<compilerarg value="-k"/>
194
		<compilerarg value="-k"/>
Line 202... Line 198...
202
 
198
 
203
		<!-- Use register variables -->
199
		<!-- Use register variables -->
204
		<compilerarg value="-r"/>
200
		<compilerarg value="-r"/>
205
 
201
 
206
		<compilerarg value="-DNO_STRICT"/>
202
		<compilerarg value="-DNO_STRICT"/>
207
		
203
 
208
		<compilerarg value="-O2"/>
204
		<compilerarg value="-O2"/>
209
		<compilerarg value="-v-"/>
205
		<compilerarg value="-v-"/>
210
 
206
 
211
		<!--  ignore warnings - eg. Unused Parameters  -->
207
		<!--  ignore warnings - eg. Unused Parameters  -->
212
		<!-- Turn on inline expansion (-vi- turns off inline expansion). -->
208
		<!-- Turn on inline expansion (-vi- turns off inline expansion). -->
Line 239... Line 235...
239
		<compilerarg value="-Q-"/>
235
		<compilerarg value="-Q-"/>
240
 
236
 
241
		<compilerarg value="-a8"/>
237
		<compilerarg value="-a8"/>
242
 
238
 
243
		<compilerarg value="-tWM"/>
239
		<compilerarg value="-tWM"/>
244
		
240
 
245
		<!-- Integer Enums -->
241
		<!-- Integer Enums -->
246
		<compilerarg value="-b"/>
242
		<compilerarg value="-b"/>
247
 
243
 
248
		<!-- Standard Stack Frames -->
244
		<!-- Standard Stack Frames -->
249
		<compilerarg value="-k"/>
245
		<compilerarg value="-k"/>
Line 253... Line 249...
253
 
249
 
254
		<!-- Use register variables -->
250
		<!-- Use register variables -->
255
		<compilerarg value="-r"/>
251
		<compilerarg value="-r"/>
256
 
252
 
257
		<compilerarg value="-DNO_STRICT"/>
253
		<compilerarg value="-DNO_STRICT"/>
258
		
254
 
259
		<compilerarg value="-O2"/>
255
		<compilerarg value="-O2"/>
260
		<compilerarg value="-v-"/>
256
		<compilerarg value="-v-"/>
261
 
257
 
262
		<!--  ignore warnings - eg. Unused Parameters  -->
258
		<!--  ignore warnings - eg. Unused Parameters  -->
263
		<!-- Turn on inline expansion (-vi- turns off inline expansion). -->
259
		<!-- Turn on inline expansion (-vi- turns off inline expansion). -->