Subversion Repositories DevTools

Rev

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

Rev 1722 Rev 1724
Line 21... Line 21...
21
	<property name="bcpp_bin" value="${using.borland_bcb.basedir}/bin"/>
21
	<property name="bcpp_bin" value="${using.borland_bcb.basedir}/bin"/>
22
	<property name="bcpp_compilername" value="bcc"/>
22
	<property name="bcpp_compilername" value="bcc"/>
23
	<property name="bcpp_include" value="${using.borland_bcb.basedir}/include"/>
23
	<property name="bcpp_include" value="${using.borland_bcb.basedir}/include"/>
24
	<property name="bcpp_vcl_include" value="${bcpp_include}/vcl"/>
24
	<property name="bcpp_vcl_include" value="${bcpp_include}/vcl"/>
25
 
25
 
26
	<property name="bcpp_include_debug"   value="${bcpp_include},${bcpp_vcl_include}"/>
26
	<property name="bcpp_include_debug"   value="${bcpp_include}"/>
27
	<property name="bcpp_include_release" value="${bcpp_include},${bcpp_vcl_include}"/>
27
	<property name="bcpp_include_release" value="${bcpp_include}"/>
28
	
28
	
29
	<property name="bcpp_common_libs" value="sysinit.obj,Memmgr.lib"/>
29
	<property name="bcpp_common_libs" value="sysinit.obj,Memmgr.lib"/>
30
	<property name="bcpp_dblibs" value="adortl.lib,dbexpress.lib,vcldb.lib,dbrtl.lib,bdertl.lib"/>
30
	<property name="bcpp_dblibs" value="adortl.lib,dbexpress.lib,vcldb.lib,dbrtl.lib,bdertl.lib"/>
31
	<property name="bcpp_rtl" value="rtl.lib,import32.lib"/>
31
	<property name="bcpp_rtl" value="rtl.lib,import32.lib"/>
32
 
32
 
33
	<property name="bcpp_console_libs" value="cw32.lib"/>
-
 
34
	<property name="bcpp_gui_libs" value="cp32mt.lib,vcl.lib,vclx.lib"/>
33
	<property name="bcpp_gui_libs" value="cp32mt.lib,vcl.lib,vclx.lib"/>
-
 
34
	
-
 
35
	<!-- The console library cw32.lib MUST ALWAYS follow the cp32mt library if used -->
-
 
36
	<property name="bcpp_console_libs" value="cw32.lib"/>
35
 
37
 
36
	<property name="bcpp_libraries_debug"	value="${bcpp_common_libs},${bcpp_rtl},${bcpp_dblibs}"/>
38
	<property name="bcpp_libraries_debug"	value="${bcpp_common_libs},${bcpp_rtl},${bcpp_dblibs}"/>
37
	<property name="bcpp_libraries_release"	value="${bcpp_common_libs},${bcpp_rtl},${bcpp_dblibs}"/>
39
	<property name="bcpp_libraries_release"	value="${bcpp_common_libs},${bcpp_rtl},${bcpp_dblibs}"/>
38
 
40
 
39
	<property name="bcpp_lib_debug" value="${using.borland_bcb.basedir}\lib\debug"/>
41
	<property name="bcpp_lib_debug" value="${using.borland_bcb.basedir}\lib\debug"/>
Line 80... Line 82...
80
		<!--compilerarg value="-ps"/-->
82
		<!--compilerarg value="-ps"/-->
81
 
83
 
82
		<!-- Don't use register variables -->
84
		<!-- Don't use register variables -->
83
		<compilerarg value="-r-"/>
85
		<compilerarg value="-r-"/>
84
 
86
 
-
 
87
		<!-- Target is Console application -->
-
 
88
		<compilerarg value="-tWC"/>
85
 
89
 
86
		<!-- Disable all optimizations -->
90
		<!-- Disable all optimizations -->
87
		<compilerarg value="-Od"/>
91
		<compilerarg value="-Od"/>
88
 
92
 
89
		<compilerarg value="-DNO_STRICT"/>
93
		<compilerarg value="-DNO_STRICT"/>
Line 96... Line 100...
96
		<compilerarg value="-v"/>
100
		<compilerarg value="-v"/>
97
 
101
 
98
		<!-- Turn on inline expansion (-vi- turns off inline expansion). -->
102
		<!-- Turn on inline expansion (-vi- turns off inline expansion). -->
99
		<compilerarg value="-vi-"/>
103
		<compilerarg value="-vi-"/>
100
 
104
 
-
 
105
		<!-- Switch off default "stop after 100 warnings" -->
-
 
106
		<compilerarg value="-g0"/> 
-
 
107
 
-
 
108
		<!--  Initializing 'identifier' with 'identifier'  -->
-
 
109
		<compilerarg value="-w-bei"/>
-
 
110
 
101
		<!--  ignore warnings - Parameter 'parameter' is never used.  -->
111
		<!--  ignore warnings - Parameter 'parameter' is never used.  -->
102
		<compilerarg value="-w-par"/>
112
		<compilerarg value="-w-par"/>
103
 
113
 
104
		<!--  ignore warnings - Conversion may lose significant digits  -->
114
		<!--  ignore warnings - Conversion may lose significant digits  -->
105
		<compilerarg value="-w-sig"/>
115
		<compilerarg value="-w-sig"/>
Line 139... Line 149...
139
 
149
 
140
		<!-- Don't use register variables -->
150
		<!-- Don't use register variables -->
141
		<compilerarg value="-r-"/>
151
		<compilerarg value="-r-"/>
142
 
152
 
143
 
153
 
-
 
154
		<!-- Target is Windows application -->
-
 
155
		<compilerarg value="-tW"/>
-
 
156
 
144
		<!-- Disable all optimizations -->
157
		<!-- Disable all optimizations -->
145
		<compilerarg value="-Od"/>
158
		<compilerarg value="-Od"/>
146
 
159
 
147
		<compilerarg value="-DNO_STRICT"/>
160
		<compilerarg value="-DNO_STRICT"/>
148
		<compilerarg value="-D_DEBUG"/>
161
		<compilerarg value="-D_DEBUG"/>
Line 154... Line 167...
154
		<compilerarg value="-v"/>
167
		<compilerarg value="-v"/>
155
 
168
 
156
		<!-- Turn on inline expansion (-vi- turns off inline expansion). -->
169
		<!-- Turn on inline expansion (-vi- turns off inline expansion). -->
157
		<compilerarg value="-vi-"/>
170
		<compilerarg value="-vi-"/>
158
 
171
 
-
 
172
		<!-- Switch off default "stop after 100 warnings" -->
-
 
173
		<compilerarg value="-g0"/> 
-
 
174
 
159
		<!--  ignore warnings - Parameter 'parameter' is never used.  -->
175
		<!--  ignore warnings - Parameter 'parameter' is never used.  -->
160
		<compilerarg value="-w-par"/>
176
		<compilerarg value="-w-par"/>
161
 
177
 
162
		<!--  ignore warnings - Conversion may lose significant digits  -->
178
		<!--  ignore warnings - Conversion may lose significant digits  -->
163
		<compilerarg value="-w-sig"/>
179
		<compilerarg value="-w-sig"/>
Line 199... Line 215...
199
		<!-- Use register variables -->
215
		<!-- Use register variables -->
200
		<compilerarg value="-r"/>
216
		<compilerarg value="-r"/>
201
 
217
 
202
		<compilerarg value="-DNO_STRICT"/>
218
		<compilerarg value="-DNO_STRICT"/>
203
 
219
 
-
 
220
		<!-- Target is Console application -->
-
 
221
		<compilerarg value="-tWC"/>
-
 
222
 
204
		<compilerarg value="-O2"/>
223
		<compilerarg value="-Od"/>
205
		<compilerarg value="-v-"/>
224
		<compilerarg value="-v-"/>
206
 
225
 
207
		<!--  ignore warnings - eg. Unused Parameters  -->
-
 
208
		<!-- Turn on inline expansion (-vi- turns off inline expansion). -->
226
		<!-- Turn on inline expansion (-vi- turns off inline expansion). -->
209
		<compilerarg value="-vi-"/>
227
		<compilerarg value="-vi-"/>
210
 
228
 
-
 
229
		<!-- Switch off default "stop after 100 warnings" -->
-
 
230
		<compilerarg value="-g0"/> 
-
 
231
 
211
		<!--  ignore warnings - Parameter 'parameter' is never used.  -->
232
		<!--  ignore warnings - Parameter 'parameter' is never used.  -->
212
		<compilerarg value="-w-par"/>
233
		<compilerarg value="-w-par"/>
213
 
234
 
214
		<!--  ignore warnings - Conversion may lose significant digits  -->
235
		<!--  ignore warnings - Conversion may lose significant digits  -->
215
		<compilerarg value="-w-sig"/>
236
		<compilerarg value="-w-sig"/>
Line 250... Line 271...
250
		<!-- Use register variables -->
271
		<!-- Use register variables -->
251
		<compilerarg value="-r"/>
272
		<compilerarg value="-r"/>
252
 
273
 
253
		<compilerarg value="-DNO_STRICT"/>
274
		<compilerarg value="-DNO_STRICT"/>
254
 
275
 
-
 
276
		<!-- Target is Windows application -->
-
 
277
		<compilerarg value="-tW"/>
-
 
278
 
255
		<compilerarg value="-O2"/>
279
		<compilerarg value="-Od"/>
256
		<compilerarg value="-v-"/>
280
		<compilerarg value="-v-"/>
257
 
281
 
258
		<!--  ignore warnings - eg. Unused Parameters  -->
-
 
259
		<!-- Turn on inline expansion (-vi- turns off inline expansion). -->
282
		<!-- Turn on inline expansion (-vi- turns off inline expansion). -->
260
		<compilerarg value="-vi-"/>
283
		<compilerarg value="-vi-"/>
261
 
284
 
-
 
285
		<!-- Switch off default "stop after 100 warnings" -->
-
 
286
		<compilerarg value="-g0"/> 
-
 
287
 
262
		<!--  ignore warnings - Parameter 'parameter' is never used.  -->
288
		<!--  ignore warnings - Parameter 'parameter' is never used.  -->
263
		<compilerarg value="-w-par"/>
289
		<compilerarg value="-w-par"/>
264
 
290
 
265
		<!--  ignore warnings - Conversion may lose significant digits  -->
291
		<!--  ignore warnings - Conversion may lose significant digits  -->
266
		<compilerarg value="-w-sig"/>
292
		<compilerarg value="-w-sig"/>
Line 282... Line 308...
282
	
308
	
283
	<linker id="bcpp_linker_debug_console_vcl" name="${bcpp_compilername}" path="${bcpp_bin}">
309
	<linker id="bcpp_linker_debug_console_vcl" name="${bcpp_compilername}" path="${bcpp_bin}">
284
		<!--  Disable incremental linking  -->
310
		<!--  Disable incremental linking  -->
285
		<linkerarg value="-Gn"/>
311
		<linkerarg value="-Gn"/>
286
		<linkerarg value="-x"/>
312
		<linkerarg value="-x"/>
-
 
313
		
-
 
314
		<!--  Win32 Console application  -->
287
		<linkerarg value="-aa"/>
315
		<linkerarg value="-ap"/>
288
 
316
 
289
		<linkerarg value="-L&quot;${bcpp_lib_debug}&quot;"/>
317
		<linkerarg value="-L&quot;${bcpp_lib_debug}&quot;"/>
290
		
318
		
291
		
319
		
292
		<fileset dir="${bcpp_lib_debug}" includes="${bcpp_gui_libs}" casesensitive="no"/>
320
		<fileset dir="${bcpp_lib_debug}" includes="${bcpp_gui_libs}" casesensitive="no"/>
Line 295... Line 323...
295
	</linker>
323
	</linker>
296
	
324
	
297
	<linker id="bcpp_linker_release_console_vcl" name="${bcpp_compilername}" path="${bcpp_bin}">
325
	<linker id="bcpp_linker_release_console_vcl" name="${bcpp_compilername}" path="${bcpp_bin}">
298
		<!--  Disable incremental linking  -->
326
		<!--  Disable incremental linking  -->
299
		<linkerarg value="-Gn"/>
327
		<linkerarg value="-Gn"/>
-
 
328
		
-
 
329
		<!--  Win32 Console application  -->
-
 
330
		<linkerarg value="-ap"/>
300
 
331
 
301
		<linkerarg value="-L&quot;${bcpp_lib_release}&quot;"/>
332
		<linkerarg value="-L&quot;${bcpp_lib_release}&quot;"/>
302
 
-
 
-
 
333
		<fileset dir="${bcpp_lib_release}" includes="${bcpp_gui_libs}" casesensitive="no"/>
303
		<fileset dir="${bcpp_lib_release}" includes="${bcpp_libraries_release}" casesensitive="no"/>
334
		<fileset dir="${bcpp_lib_release}" includes="${bcpp_libraries_release}" casesensitive="no"/>
304
		<fileset dir="${bcpp_lib_release}" includes="${bcpp_console_libs}" casesensitive="no"/>
335
		<fileset dir="${bcpp_lib_release}" includes="${bcpp_console_libs}" casesensitive="no"/>
305
		<fileset dir="${bcpp_lib_release}" includes="${bcpp_gui_libs}" casesensitive="no"/>
-
 
-
 
336
		
306
	
337
	
307
	</linker>
338
	</linker>
308
 
339
 
309
	<linker id="bcpp_linker_debug_console" name="${bcpp_compilername}" path="${bcpp_bin}">
340
	<linker id="bcpp_linker_debug_console" name="${bcpp_compilername}" path="${bcpp_bin}">
310
		<!--  Disable incremental linking  -->
341
		<!--  Disable incremental linking  -->
311
		<linkerarg value="-Gn"/>
342
		<linkerarg value="-Gn"/>
312
		<linkerarg value="-x"/>
343
		<linkerarg value="-x"/>
-
 
344
		
-
 
345
		<!--  Win32 Console application  -->
313
		<linkerarg value="-aa"/>
346
		<linkerarg value="-ap"/>
-
 
347
 
314
 
348
 
315
		<linkerarg value="-L&quot;${bcpp_lib_debug}&quot;"/>
349
		<linkerarg value="-L&quot;${bcpp_lib_debug}&quot;"/>
316
 
350
 
317
		<fileset dir="${bcpp_lib_debug}" includes="${bcpp_libraries_debug}" casesensitive="no"/>
351
		<fileset dir="${bcpp_lib_debug}" includes="${bcpp_libraries_debug}" casesensitive="no"/>
318
		<fileset dir="${bcpp_lib_debug}" includes="${bcpp_console_libs}" casesensitive="no"/>
352
		<fileset dir="${bcpp_lib_debug}" includes="${bcpp_console_libs}" casesensitive="no"/>
Line 320... Line 354...
320
 
354
 
321
	<linker id="bcpp_linker_debug_gui" name="${bcpp_compilername}" path="${bcpp_bin}">
355
	<linker id="bcpp_linker_debug_gui" name="${bcpp_compilername}" path="${bcpp_bin}">
322
		<!--  Disable incremental linking  -->
356
		<!--  Disable incremental linking  -->
323
		<linkerarg value="-Gn"/>
357
		<linkerarg value="-Gn"/>
324
		<linkerarg value="-x"/>
358
		<linkerarg value="-x"/>
-
 
359
		
-
 
360
		<!--  Win32 Windows application  -->
325
		<linkerarg value="-aa"/>
361
		<linkerarg value="-aa"/>
326
 
362
 
327
		<linkerarg value="-L&quot;${bcpp_lib_debug}&quot;"/>
363
		<linkerarg value="-L&quot;${bcpp_lib_debug}&quot;"/>
328
 
364
 
329
		<fileset dir="${bcpp_lib_debug}" includes="${bcpp_libraries_debug}" casesensitive="no"/>
-
 
330
		<fileset dir="${bcpp_lib_debug}" includes="${bcpp_gui_libs}" casesensitive="no"/>
365
		<fileset dir="${bcpp_lib_debug}" includes="${bcpp_gui_libs}" casesensitive="no"/>
-
 
366
		<fileset dir="${bcpp_lib_debug}" includes="${bcpp_libraries_debug}" casesensitive="no"/>
331
	</linker>
367
	</linker>
332
 
368
 
333
 
369
 
334
 
370
 
335
	<linker id="bcpp_linker_release_console" name="${bcpp_compilername}" path="${bcpp_bin}">
371
	<linker id="bcpp_linker_release_console" name="${bcpp_compilername}" path="${bcpp_bin}">
336
		<!--  Disable incremental linking  -->
372
		<!--  Disable incremental linking  -->
337
		<linkerarg value="-Gn"/>
373
		<linkerarg value="-Gn"/>
-
 
374
		
-
 
375
		<!--  Win32 Console application  -->
-
 
376
		<linkerarg value="-ap"/>
-
 
377
 
338
 
378
 
339
		<linkerarg value="-L&quot;${bcpp_lib_release}&quot;"/>
379
		<linkerarg value="-L&quot;${bcpp_lib_release}&quot;"/>
340
 
380
 
341
		<fileset dir="${bcpp_lib_release}" includes="${bcpp_libraries_release}" casesensitive="no"/>
381
		<fileset dir="${bcpp_lib_release}" includes="${bcpp_libraries_release}" casesensitive="no"/>
342
		<fileset dir="${bcpp_lib_release}" includes="${bcpp_console_libs}" casesensitive="no"/>
382
		<fileset dir="${bcpp_lib_release}" includes="${bcpp_console_libs}" casesensitive="no"/>
343
	</linker>
383
	</linker>
344
 
384
 
345
	<linker id="bcpp_linker_release_gui" name="${bcpp_compilername}" path="${bcpp_bin}">
385
	<linker id="bcpp_linker_release_gui" name="${bcpp_compilername}" path="${bcpp_bin}">
346
		<!--  Disable incremental linking  -->
386
		<!--  Disable incremental linking  -->
347
		<linkerarg value="-Gn"/>
387
		<linkerarg value="-Gn"/>
-
 
388
		
-
 
389
		<!--  Win32 Windows application  -->
-
 
390
		<linkerarg value="-aa"/>
348
 
391
 
349
		<linkerarg value="-L&quot;${bcpp_lib_release}&quot;"/>
392
		<linkerarg value="-L&quot;${bcpp_lib_release}&quot;"/>
350
 
393
 
351
		<fileset dir="${bcpp_lib_release}" includes="${bcpp_libraries_release}" casesensitive="no"/>
-
 
352
		<fileset dir="${bcpp_lib_release}" includes="${bcpp_gui_libs}" casesensitive="no"/>
394
		<fileset dir="${bcpp_lib_release}" includes="${bcpp_gui_libs}" casesensitive="no"/>
-
 
395
		<fileset dir="${bcpp_lib_release}" includes="${bcpp_libraries_release}" casesensitive="no"/>
353
	</linker>
396
	</linker>
354
 
397
 
355
</project>
398
</project>