Subversion Repositories DevTools

Rev

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

Rev 1704 Rev 1706
Line 9... Line 9...
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
10
			in part without the express written consent of ERG.
10
			in part without the express written consent of ERG.
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="1.3.0"/>
14
	<using name="ant-cpptasks" version="1.4.0"/>
15
	<using name="ant-windows" version="1.0.0"/>
15
	<using name="ant-windows" version="1.0.0"/>
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="6.0.10.cots">
18
	<using name="borland_bcb" version="6.0.11.cots">
19
		<exclude name="**/debug/*"   if="windows-release"/>
19
		<exclude name="**/debug/*"   if="windows-release"/>
20
		<exclude name="**/release/*" if="windows-debug"/>
20
		<exclude name="**/release/*" if="windows-debug"/>
21
	</using>
21
	</using>
22
 
22
 
23
	<!-- Set up the environment's Binary path, Include and Library paths -->
23
	<!-- Set up the environment's Binary path, Include and Library paths -->
Line 27... Line 27...
27
	<property name="bcpp_vcl_include" value="${bcpp_include}/vcl"/>
27
	<property name="bcpp_vcl_include" value="${bcpp_include}/vcl"/>
28
 
28
 
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"/>
32
	<property name="bcpp_common_libs" value="sysinit.obj,Memmgr.lib"/>
33
	<property name="bcpp_dblibs" value="vcldb,dbrtl"/>
33
	<property name="bcpp_dblibs" value="vcldb.lib,dbrtl.lib,bdertl.lib"/>
34
	<property name="bcpp_rtl" value="rtl,cp32mt"/>
34
	<property name="bcpp_rtl" value="rtl.lib,cp32mt.lib,import32.lib"/>
-
 
35
	<property name="bcpp_visual_libs" value="vcl.lib,vclx.lib"/>
35
 
36
 
36
	<property name="bcpp_libraries_debug"	value="${bcpp_common_libs},${bcpp_rtl},${bcpp_dblibs}"/>
37
	<property name="bcpp_libraries_debug"	value="${bcpp_common_libs},${bcpp_rtl},${bcpp_visual_libs},${bcpp_dblibs}"/>
37
	<property name="bcpp_libraries_release"	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}"/>
38
 
39
 
39
	<property name="bcpp_lib_debug" value="${using.borland_bcb.basedir}\lib\debug"/>
40
	<property name="bcpp_lib_debug" value="${using.borland_bcb.basedir}\lib\debug"/>
40
	<property name="bcpp_lib_release" value="${using.borland_bcb.basedir}\lib\release"/>
41
	<property name="bcpp_lib_release" value="${using.borland_bcb.basedir}\lib\release"/>
41
 
42
 
42
	<!-- The particular library paths are dependent upon the Release/Debug status -->
43
	<!-- The particular library paths are dependent upon the Release/Debug status -->
Line 59... Line 60...
59
	<compiler id="bcpp_compiler_debug" name="${bcpp_compilername}">
60
	<compiler id="bcpp_compiler_debug" name="${bcpp_compilername}">
60
		<!--  zero length empty class member functions -->
61
		<!--  zero length empty class member functions -->
61
		<compilerarg value="-Vx"/>
62
		<compilerarg value="-Vx"/>
62
		<compilerarg value="-Ve"/>
63
		<compilerarg value="-Ve"/>
63
 
64
 
-
 
65
		<!--  Pentium Pro Instructions -->
-
 
66
		<compilerarg value="-6"/>
-
 
67
 
64
		<!--  Don't suppress compiler banner -->
68
		<!--  Don't suppress compiler banner -->
65
		<compilerarg value="-q-"/>
69
		<compilerarg value="-q-"/>
66
 
70
 
67
		<!-- 8 byte data alignment -->
71
		<!-- 8 byte data alignment -->
68
		<compilerarg value="-a8"/>
72
		<compilerarg value="-a8"/>
Line 72... Line 76...
72
 
76
 
73
		<!-- Standard Stack Frames -->
77
		<!-- Standard Stack Frames -->
74
		<compilerarg value="-k"/>
78
		<compilerarg value="-k"/>
75
 
79
 
76
		<!-- Standard Calling Convention -->
80
		<!-- Standard Calling Convention -->
77
		<compilerarg value="-ps"/>
81
		<!--compilerarg value="-ps"/-->
78
 
82
 
79
		<!-- Don't use register variables -->
83
		<!-- Don't use register variables -->
80
		<compilerarg value="-r-"/>
84
		<compilerarg value="-r-"/>
81
 
85
 
82
		
86
		
Line 114... Line 118...
114
	<compiler id="bcpp_compiler_release" name="bcc">
118
	<compiler id="bcpp_compiler_release" name="bcc">
115
		<!--  zero length empty class member functions -->
119
		<!--  zero length empty class member functions -->
116
		<compilerarg value="-Vx"/>
120
		<compilerarg value="-Vx"/>
117
		<compilerarg value="-Ve"/>
121
		<compilerarg value="-Ve"/>
118
 
122
 
-
 
123
		<!--  Pentium Pro Instructions -->
-
 
124
		<compilerarg value="-6"/>
-
 
125
 
119
		<compilerarg value="-Q-"/>
126
		<compilerarg value="-Q-"/>
120
 
127
 
121
		<compilerarg value="-a8"/>
128
		<compilerarg value="-a8"/>
122
 
129
 
123
		<compilerarg value="-tWM"/>
130
		<compilerarg value="-tWM"/>
124
		
131
		
125
		<compilerarg value="-tWM"/>
-
 
126
 
-
 
127
		<!-- Integer Enums -->
132
		<!-- Integer Enums -->
128
		<compilerarg value="-b"/>
133
		<compilerarg value="-b"/>
129
 
134
 
130
		<!-- Standard Stack Frames -->
135
		<!-- Standard Stack Frames -->
131
		<compilerarg value="-k"/>
136
		<compilerarg value="-k"/>
132
 
137
 
133
		<!-- Standard Calling Convention -->
138
		<!-- Don't override Calling Convention, allow project to specify -->
134
		<compilerarg value="-ps"/>
139
		<!--compilerarg value="-ps"/-->
135
 
140
 
136
		<!-- Use register variables -->
141
		<!-- Use register variables -->
137
		<compilerarg value="-r"/>
142
		<compilerarg value="-r"/>
138
 
143
 
139
		<compilerarg value="-DNO_STRICT"/>
144
		<compilerarg value="-DNO_STRICT"/>
Line 162... Line 167...
162
	</compiler>
167
	</compiler>
163
 
168
 
164
	<linker id="bcpp_linker_debug" name="${bcpp_compilername}">
169
	<linker id="bcpp_linker_debug" name="${bcpp_compilername}">
165
		<!--  Disable incremental linking  -->
170
		<!--  Disable incremental linking  -->
166
		<linkerarg value="-Gn"/>
171
		<linkerarg value="-Gn"/>
-
 
172
		<linkerarg value="-x"/>
-
 
173
		<linkerarg value="-aa"/>
167
 
174
 
168
		<linkerarg value="-L&quot;${bcpp_lib_debug}&quot;"/>
175
		<linkerarg value="-L&quot;${bcpp_lib_debug}&quot;"/>
169
 
176
 
170
		<fileset dir="${bcpp_lib_debug}" includes="sysinit.obj,Memmgr.lib,rtl.lib" casesensitive="no"/>
177
		<fileset dir="${bcpp_lib_debug}" includes="${bcpp_libraries_debug}" casesensitive="no"/>
171
	</linker>
178
	</linker>
172
 
179
 
173
	<linker id="bcpp_linker_release" name="${bcpp_compilername}">
180
	<linker id="bcpp_linker_release" name="${bcpp_compilername}">
174
		<!--  Disable incremental linking  -->
181
		<!--  Disable incremental linking  -->
175
		<linkerarg value="-Gn"/>
182
		<linkerarg value="-Gn"/>
176
 
183
 
177
		<linkerarg value="-L&quot;${bcpp_lib_release}&quot;"/>
184
		<linkerarg value="-L&quot;${bcpp_lib_release}&quot;"/>
178
 
185
 
179
		<fileset dir="${bcpp_lib_release}" includes="sysinit.obj,Memmgr.lib,rtl.lib" casesensitive="no"/>
186
		<fileset dir="${bcpp_lib_release}" includes="${bcpp_libraries_release}" casesensitive="no"/>
180
	</linker>
187
	</linker>
181
 
188
 
182
</project>
189
</project>