Subversion Repositories DevTools

Rev

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

Rev 1706 Rev 1708
Line 29... Line 29...
29
	<property name="bcpp_include_debug"   value="${bcpp_include},${bcpp_vcl_include}"/>
29
	<property name="bcpp_include_debug"   value="${bcpp_include},${bcpp_vcl_include}"/>
30
	<property name="bcpp_include_release" value="${bcpp_include},${bcpp_vcl_include}"/>
30
	<property name="bcpp_include_release" value="${bcpp_include},${bcpp_vcl_include}"/>
31
 
31
 
32
	<property name="bcpp_common_libs" value="sysinit.obj,Memmgr.lib"/>
32
	<property name="bcpp_common_libs" value="sysinit.obj,Memmgr.lib"/>
33
	<property name="bcpp_dblibs" value="vcldb.lib,dbrtl.lib,bdertl.lib"/>
33
	<property name="bcpp_dblibs" value="vcldb.lib,dbrtl.lib,bdertl.lib"/>
34
	<property name="bcpp_rtl" value="rtl.lib,cp32mt.lib,import32.lib"/>
34
	<property name="bcpp_rtl" value="rtl.lib,import32.lib"/>
35
	<property name="bcpp_visual_libs" value="vcl.lib,vclx.lib"/>
-
 
36
 
35
 
-
 
36
	<property name="bcpp_console_libs" value="cw32.lib"/>
-
 
37
	<property name="bcpp_gui_libs" value="cp32mt.lib,vcl.lib,vclx.lib"/>
-
 
38
 
37
	<property name="bcpp_libraries_debug"	value="${bcpp_common_libs},${bcpp_rtl},${bcpp_visual_libs},${bcpp_dblibs}"/>
39
	<property name="bcpp_libraries_debug"	value="${bcpp_common_libs},${bcpp_rtl},${bcpp_dblibs}"/>
38
	<property name="bcpp_libraries_release"	value="${bcpp_common_libs},${bcpp_rtl},${bcpp_visual_libs},${bcpp_dblibs}"/>
40
	<property name="bcpp_libraries_release"	value="${bcpp_common_libs},${bcpp_rtl},${bcpp_dblibs}"/>
39
 
41
 
40
	<property name="bcpp_lib_debug" value="${using.borland_bcb.basedir}\lib\debug"/>
42
	<property name="bcpp_lib_debug" value="${using.borland_bcb.basedir}\lib\debug"/>
41
	<property name="bcpp_lib_release" value="${using.borland_bcb.basedir}\lib\release"/>
43
	<property name="bcpp_lib_release" value="${using.borland_bcb.basedir}\lib\release"/>
42
 
44
 
43
	<!-- The particular library paths are dependent upon the Release/Debug status -->
45
	<!-- The particular library paths are dependent upon the Release/Debug status -->
Line 55... Line 57...
55
	<!-- Create the Borland Compiler/Linker default configuration location files for Includes & Libraries -->
57
	<!-- Create the Borland Compiler/Linker default configuration location files for Includes & Libraries -->
56
	<!-- These files are use by the compiler/linker when a dependent file cannot be found in the defined paths -->
58
	<!-- These files are use by the compiler/linker when a dependent file cannot be found in the defined paths -->
57
	<echo file="${bcpp_bin}/ilink32.cfg">-L"${bcpp_lib}"</echo>
59
	<echo file="${bcpp_bin}/ilink32.cfg">-L"${bcpp_lib}"</echo>
58
	<echo file="${bcpp_bin}/bcc32.cfg">-I"${bcpp_include}";"${bcpp_vcl_include}" -L"${bcpp_lib}"</echo>
60
	<echo file="${bcpp_bin}/bcc32.cfg">-I"${bcpp_include}";"${bcpp_vcl_include}" -L"${bcpp_lib}"</echo>
59
 
61
 
60
	<compiler id="bcpp_compiler_debug" name="${bcpp_compilername}">
62
	<compiler id="bcpp_compiler_debug_console" name="${bcpp_compilername}">
61
		<!--  zero length empty class member functions -->
63
		<!--  zero length empty class member functions -->
62
		<compilerarg value="-Vx"/>
64
		<compilerarg value="-Vx"/>
63
		<compilerarg value="-Ve"/>
65
		<compilerarg value="-Ve"/>
64
 
66
 
65
		<!--  Pentium Pro Instructions -->
67
		<!--  Pentium Pro Instructions -->
Line 113... Line 115...
113
 
115
 
114
		<!--  ignore warnings - 'identifier' is assigned a value that is never used  -->
116
		<!--  ignore warnings - 'identifier' is assigned a value that is never used  -->
115
		<compilerarg value="-w-aus"/>
117
		<compilerarg value="-w-aus"/>
116
	</compiler>
118
	</compiler>
117
 
119
 
-
 
120
	<compiler id="bcpp_compiler_debug_gui" name="${bcpp_compilername}">
-
 
121
		<!--  zero length empty class member functions -->
-
 
122
		<compilerarg value="-Vx"/>
-
 
123
		<compilerarg value="-Ve"/>
-
 
124
 
-
 
125
		<!--  Pentium Pro Instructions -->
-
 
126
		<compilerarg value="-6"/>
-
 
127
 
-
 
128
		<!--  Don't suppress compiler banner -->
-
 
129
		<compilerarg value="-q-"/>
-
 
130
 
-
 
131
		<!-- 8 byte data alignment -->
-
 
132
		<compilerarg value="-a8"/>
-
 
133
 
-
 
134
		<!-- Integer Enums -->
-
 
135
		<compilerarg value="-b"/>
-
 
136
 
-
 
137
		<!-- Standard Stack Frames -->
-
 
138
		<compilerarg value="-k"/>
-
 
139
 
-
 
140
		<!-- Standard Calling Convention -->
-
 
141
		<!--compilerarg value="-ps"/-->
-
 
142
 
-
 
143
		<!-- Don't use register variables -->
-
 
144
		<compilerarg value="-r-"/>
-
 
145
 
-
 
146
		
-
 
147
		<!-- Disable all optimizations -->
-
 
148
		<compilerarg value="-Od"/>
-
 
149
 
-
 
150
		<compilerarg value="-DNO_STRICT"/>
-
 
151
		<compilerarg value="-D_DEBUG"/>
-
 
152
 
-
 
153
		<!-- Debug - Line numbers on -->
-
 
154
		<compilerarg value="-y"/>
-
 
155
 
-
 
156
		<!-- Turn on source debugging -->
-
 
157
		<compilerarg value="-v"/>
-
 
158
 
-
 
159
		<!-- Turn on inline expansion (-vi- turns off inline expansion). -->
-
 
160
		<compilerarg value="-vi-"/>
-
 
161
 
-
 
162
		<!--  ignore warnings - Parameter 'parameter' is never used.  -->
-
 
163
		<compilerarg value="-w-par"/>
-
 
164
 
-
 
165
		<!--  ignore warnings - Conversion may lose significant digits  -->
-
 
166
		<compilerarg value="-w-sig"/>
-
 
167
 
-
 
168
		<!--  ignore warnings -  'identifier' declared but never used.  -->
-
 
169
		<compilerarg value="-w-use"/>
-
 
170
 
-
 
171
		<!--  ignore warnings - Unreachable code  -->
-
 
172
		<compilerarg value="-w-rch"/>
-
 
173
 
-
 
174
		<!--  ignore warnings - 'identifier' is assigned a value that is never used  -->
-
 
175
		<compilerarg value="-w-aus"/>
-
 
176
	</compiler>
-
 
177
 
-
 
178
 
-
 
179
	<compiler id="bcpp_compiler_release_console" name="${bcpp_compilername}">
-
 
180
		<!--  zero length empty class member functions -->
-
 
181
		<compilerarg value="-Vx"/>
-
 
182
		<compilerarg value="-Ve"/>
-
 
183
 
-
 
184
		<!--  Pentium Pro Instructions -->
-
 
185
		<compilerarg value="-6"/>
-
 
186
 
-
 
187
		<compilerarg value="-Q-"/>
-
 
188
 
-
 
189
		<compilerarg value="-a8"/>
-
 
190
 
-
 
191
		<compilerarg value="-tWM"/>
-
 
192
		
-
 
193
		<!-- Integer Enums -->
-
 
194
		<compilerarg value="-b"/>
-
 
195
 
-
 
196
		<!-- Standard Stack Frames -->
-
 
197
		<compilerarg value="-k"/>
-
 
198
 
-
 
199
		<!-- Don't override Calling Convention, allow project to specify -->
-
 
200
		<!--compilerarg value="-ps"/-->
-
 
201
 
-
 
202
		<!-- Use register variables -->
-
 
203
		<compilerarg value="-r"/>
-
 
204
 
-
 
205
		<compilerarg value="-DNO_STRICT"/>
-
 
206
		
-
 
207
		<compilerarg value="-O2"/>
-
 
208
		<compilerarg value="-v-"/>
-
 
209
 
-
 
210
		<!--  ignore warnings - eg. Unused Parameters  -->
-
 
211
		<!-- Turn on inline expansion (-vi- turns off inline expansion). -->
-
 
212
		<compilerarg value="-vi-"/>
-
 
213
 
-
 
214
		<!--  ignore warnings - Parameter 'parameter' is never used.  -->
-
 
215
		<compilerarg value="-w-par"/>
-
 
216
 
-
 
217
		<!--  ignore warnings - Conversion may lose significant digits  -->
-
 
218
		<compilerarg value="-w-sig"/>
-
 
219
 
-
 
220
		<!--  ignore warnings -  'identifier' declared but never used.  -->
-
 
221
		<compilerarg value="-w-use"/>
-
 
222
 
-
 
223
		<!--  ignore warnings - Unreachable code  -->
-
 
224
		<compilerarg value="-w-rch"/>
-
 
225
 
-
 
226
		<!--  ignore warnings - 'identifier' is assigned a value that is never used  -->
-
 
227
		<compilerarg value="-w-aus"/>
-
 
228
	</compiler>
-
 
229
 
118
	<compiler id="bcpp_compiler_release" name="bcc">
230
	<compiler id="bcpp_compiler_release_gui" name="${bcpp_compilername}">
119
		<!--  zero length empty class member functions -->
231
		<!--  zero length empty class member functions -->
120
		<compilerarg value="-Vx"/>
232
		<compilerarg value="-Vx"/>
121
		<compilerarg value="-Ve"/>
233
		<compilerarg value="-Ve"/>
122
 
234
 
123
		<!--  Pentium Pro Instructions -->
235
		<!--  Pentium Pro Instructions -->
Line 164... Line 276...
164
 
276
 
165
		<!--  ignore warnings - 'identifier' is assigned a value that is never used  -->
277
		<!--  ignore warnings - 'identifier' is assigned a value that is never used  -->
166
		<compilerarg value="-w-aus"/>
278
		<compilerarg value="-w-aus"/>
167
	</compiler>
279
	</compiler>
168
 
280
 
-
 
281
	<!-- Linker rules -->
-
 
282
 
-
 
283
	<linker id="bcpp_linker_debug_console" name="${bcpp_compilername}">
-
 
284
		<!--  Disable incremental linking  -->
-
 
285
		<linkerarg value="-Gn"/>
-
 
286
		<linkerarg value="-x"/>
-
 
287
		<linkerarg value="-aa"/>
-
 
288
 
-
 
289
		<linkerarg value="-L&quot;${bcpp_lib_debug}&quot;"/>
-
 
290
 
-
 
291
		<fileset dir="${bcpp_lib_debug}" includes="${bcpp_libraries_debug}" casesensitive="no"/>
-
 
292
		<fileset dir="${bcpp_lib_debug}" includes="${bcpp_console_libs}" casesensitive="no"/>
-
 
293
	</linker>
-
 
294
 
169
	<linker id="bcpp_linker_debug" name="${bcpp_compilername}">
295
	<linker id="bcpp_linker_debug_gui" name="${bcpp_compilername}">
170
		<!--  Disable incremental linking  -->
296
		<!--  Disable incremental linking  -->
171
		<linkerarg value="-Gn"/>
297
		<linkerarg value="-Gn"/>
172
		<linkerarg value="-x"/>
298
		<linkerarg value="-x"/>
173
		<linkerarg value="-aa"/>
299
		<linkerarg value="-aa"/>
174
 
300
 
175
		<linkerarg value="-L&quot;${bcpp_lib_debug}&quot;"/>
301
		<linkerarg value="-L&quot;${bcpp_lib_debug}&quot;"/>
176
 
302
 
177
		<fileset dir="${bcpp_lib_debug}" includes="${bcpp_libraries_debug}" casesensitive="no"/>
303
		<fileset dir="${bcpp_lib_debug}" includes="${bcpp_libraries_debug}" casesensitive="no"/>
-
 
304
		<fileset dir="${bcpp_lib_debug}" includes="${bcpp_gui_libs}" casesensitive="no"/>
-
 
305
	</linker>
-
 
306
 
-
 
307
 
-
 
308
 
-
 
309
	<linker id="bcpp_linker_release_console" name="${bcpp_compilername}">
-
 
310
		<!--  Disable incremental linking  -->
-
 
311
		<linkerarg value="-Gn"/>
-
 
312
 
-
 
313
		<linkerarg value="-L&quot;${bcpp_lib_release}&quot;"/>
-
 
314
 
-
 
315
		<fileset dir="${bcpp_lib_release}" includes="${bcpp_libraries_release}" casesensitive="no"/>
-
 
316
		<fileset dir="${bcpp_lib_release}" includes="${bcpp_console_libs}" casesensitive="no"/>
178
	</linker>
317
	</linker>
179
 
318
 
180
	<linker id="bcpp_linker_release" name="${bcpp_compilername}">
319
	<linker id="bcpp_linker_release_gui" name="${bcpp_compilername}">
181
		<!--  Disable incremental linking  -->
320
		<!--  Disable incremental linking  -->
182
		<linkerarg value="-Gn"/>
321
		<linkerarg value="-Gn"/>
183
 
322
 
184
		<linkerarg value="-L&quot;${bcpp_lib_release}&quot;"/>
323
		<linkerarg value="-L&quot;${bcpp_lib_release}&quot;"/>
185
 
324
 
186
		<fileset dir="${bcpp_lib_release}" includes="${bcpp_libraries_release}" casesensitive="no"/>
325
		<fileset dir="${bcpp_lib_release}" includes="${bcpp_libraries_release}" casesensitive="no"/>
-
 
326
		<fileset dir="${bcpp_lib_release}" includes="${bcpp_gui_libs}" casesensitive="no"/>
187
	</linker>
327
	</linker>
188
 
328
 
189
</project>
329
</project>