Subversion Repositories DevTools

Rev

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

Rev 1882 Rev 1884
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 Microsoft C++ Compiler/Linker environment from its COTS package -->
17
	<!-- Include the Microsoft C++ Compiler/Linker environment from its COTS package -->
18
	<using name="microsoft_cpp" version="6.0.0.cots">
18
	<using name="microsoft_cpp" version="6.0.0.cots">
19
		<exclude name="**/*.PDB"		if="windows-release"/>
19
		<exclude name="**/*.PDB"		if="windows-release"/>
Line 52... Line 52...
52
	<property name="msvc_lib_release" value="${msvc_lib}/release"/>
52
	<property name="msvc_lib_release" value="${msvc_lib}/release"/>
53
 
53
 
54
	<property name="msvc_libraries_debug"	value="kernel32.lib,user32.lib,advapi32.lib,ws2_32.lib"/>
54
	<property name="msvc_libraries_debug"	value="kernel32.lib,user32.lib,advapi32.lib,ws2_32.lib"/>
55
	<property name="msvc_libraries_release"	value="kernel32.lib,user32.lib,advapi32.lib,ws2_32.lib"/>
55
	<property name="msvc_libraries_release"	value="kernel32.lib,user32.lib,advapi32.lib,ws2_32.lib"/>
56
 
56
 
57
	<compiler id="msvc_compiler_debug" name="${msvc_compilername}">
57
	<compiler id="msvc_compiler_debug_console" name="${msvc_compilername}">
58
		<compilerarg value="/G6"/>
58
		<compilerarg value="/G6"/>
59
		<compilerarg value="/MDd"/>
59
		<compilerarg value="/MDd"/>
60
		<compilerarg value="/Ze"/>	<!-- Enable langauge extensions -->
60
		<compilerarg value="/Ze"/>	<!-- Enable langauge extensions -->
61
		<compilerarg value="/W3"/>
61
		<compilerarg value="/W3"/>
62
		<compilerarg value="/GX"/>
62
		<compilerarg value="/GX"/>
Line 68... Line 68...
68
 
68
 
69
		<compilerarg value="-DWIN32"/>
69
		<compilerarg value="-DWIN32"/>
70
		<compilerarg value="-D_WINDOWS"/>
70
		<compilerarg value="-D_WINDOWS"/>
71
	</compiler>
71
	</compiler>
72
 
72
 
-
 
73
	<compiler id="msvc_compiler_debug_gui" name="${msvc_compilername}">
-
 
74
		<compilerarg value="/G6"/>
-
 
75
		<compilerarg value="/MDd"/>
-
 
76
		<compilerarg value="/Ze"/>	<!-- Enable langauge extensions -->
-
 
77
		<compilerarg value="/W3"/>
-
 
78
		<compilerarg value="/GX"/>
-
 
79
		<compilerarg value="/Od"/>
-
 
80
 
-
 
81
		<compilerarg value="-DNO_STRICT"/>
-
 
82
		<compilerarg value="-D_DEBUG"/>
-
 
83
		<compilerarg value="-DNDEBUG"/>
-
 
84
 
-
 
85
		<compilerarg value="-DWIN32"/>
-
 
86
		<compilerarg value="-D_WINDOWS"/>
-
 
87
	</compiler>
-
 
88
 
-
 
89
	<compiler id="msvc_compiler_release_console" name="${msvc_compilername}">
-
 
90
		<compilerarg value="/G6"/>
-
 
91
		<compilerarg value="/MD"/>
-
 
92
		<compilerarg value="/Ze"/>	<!-- Enable langauge extensions -->
-
 
93
		<compilerarg value="/W3"/>
-
 
94
		<compilerarg value="/GX"/>
-
 
95
		<compilerarg value="/O2"/>
-
 
96
		<compilerarg value="/Ob2"/>
-
 
97
 
-
 
98
	</compiler>
-
 
99
 
73
	<compiler id="msvc_compiler_release" name="${msvc_compilername}">
100
	<compiler id="msvc_compiler_release_gui" name="${msvc_compilername}">
74
		<compilerarg value="/G6"/>
101
		<compilerarg value="/G6"/>
75
		<compilerarg value="/MD"/>
102
		<compilerarg value="/MD"/>
76
		<compilerarg value="/Ze"/>	<!-- Enable langauge extensions -->
103
		<compilerarg value="/Ze"/>	<!-- Enable langauge extensions -->
77
		<compilerarg value="/W3"/>
104
		<compilerarg value="/W3"/>
78
		<compilerarg value="/GX"/>
105
		<compilerarg value="/GX"/>
79
		<compilerarg value="/O2"/>
106
		<compilerarg value="/O2"/>
80
		<compilerarg value="/Ob2"/>
107
		<compilerarg value="/Ob2"/>
81
 
108
 
82
	</compiler>
109
	</compiler>
83
 
110
 
-
 
111
 
-
 
112
	<linker id="msvc_linker_debug_console" name="${msvc_compilername}">
-
 
113
		<linkerarg value="-L&quot;${msvc_lib_debug}&quot;"/>
-
 
114
 
-
 
115
		<syslibset dir="${msvc_lib}" libs="MSVCPRTD,MSVCRTD,OLDNAMES,uuid,kernel32,user32,advapi32,ws2_32" casesensitive="no"/>
-
 
116
	</linker>
-
 
117
 
84
	<linker id="msvc_linker_debug" name="${msvc_compilername}">
118
	<linker id="msvc_linker_debug_gui" name="${msvc_compilername}">
85
		<linkerarg value="-L&quot;${msvc_lib_debug}&quot;"/>
119
		<linkerarg value="-L&quot;${msvc_lib_debug}&quot;"/>
86
 
120
 
87
		<syslibset dir="${msvc_lib}" libs="MSVCPRTD,MSVCRTD,OLDNAMES,uuid,kernel32,user32,advapi32,ws2_32" casesensitive="no"/>
121
		<syslibset dir="${msvc_lib}" libs="MSVCPRTD,MSVCRTD,OLDNAMES,uuid,kernel32,user32,advapi32,ws2_32" casesensitive="no"/>
88
	</linker>
122
	</linker>
89
 
123
 
-
 
124
	<linker id="msvc_linker_release_console" name="${msvc_compilername}">
-
 
125
		<linkerarg value="/L&quot;${msvc_lib_release}&quot;"/>
-
 
126
 
-
 
127
		<syslibset dir="${msvc_lib}" libs="MSVCPRT,MSVCRT,OLDNAMES,uuid,kernel32,user32,advapi32,ws2_32" casesensitive="no"/>
-
 
128
	</linker>
-
 
129
 
90
	<linker id="msvc_linker_release" name="${msvc_compilername}">
130
	<linker id="msvc_linker_release_gui" name="${msvc_compilername}">
91
		<linkerarg value="/L&quot;${msvc_lib_release}&quot;"/>
131
		<linkerarg value="/L&quot;${msvc_lib_release}&quot;"/>
92
 
132
 
93
		<syslibset dir="${msvc_lib}" libs="MSVCPRT,MSVCRT,OLDNAMES,uuid,kernel32,user32,advapi32,ws2_32" casesensitive="no"/>
133
		<syslibset dir="${msvc_lib}" libs="MSVCPRT,MSVCRT,OLDNAMES,uuid,kernel32,user32,advapi32,ws2_32" casesensitive="no"/>
94
	</linker>
134
	</linker>
95
 
135