| 1886 |
mkiran |
1 |
<project name="msvc-task">
|
|
|
2 |
|
| 1890 |
mtanner |
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
|
| 1886 |
mkiran |
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.
|
|
|
7 |
|
|
|
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
|
|
|
10 |
in part without the express written consent of ERG.
|
|
|
11 |
-->
|
|
|
12 |
|
|
|
13 |
<!-- This is a Windows based compiler package, so include its standard environment -->
|
|
|
14 |
<using name="ant-cpptasks" version="REPLACE_ANT_CPPTASK"/>
|
|
|
15 |
<using name="ant-windows" version="REPLACE_WINDOWS"/>
|
|
|
16 |
|
|
|
17 |
<!-- Include the Microsoft C++ Compiler/Linker environment from its COTS package -->
|
| 1890 |
mtanner |
18 |
<using name="microsoft_cpp" version="REPLACE_MICROSOFT_CPP"/>
|
| 1894 |
crichaud |
19 |
|
| 1886 |
mkiran |
20 |
<!-- Set up the environment's Binary path, Include and Library paths -->
|
|
|
21 |
<property name="msvc_bin" value="${using.microsoft_cpp.basedir}/bin"/>
|
|
|
22 |
<property name="msvc_compilername" value="msvc"/>
|
|
|
23 |
|
|
|
24 |
<property name="msvc_include" value="${using.microsoft_cpp.basedir}/include"/>
|
| 1894 |
crichaud |
25 |
|
|
|
26 |
<property name="msvc_include_dimkumware_true" value="${dinkumware_stl_include}"/>
|
|
|
27 |
<property name="msvc_include_dimkumware_false" value=""/>
|
|
|
28 |
|
| 1886 |
mkiran |
29 |
<property name="msvc_include_debug" value="${msvc_include}"/>
|
|
|
30 |
<property name="msvc_include_release" value="${msvc_include}"/>
|
|
|
31 |
|
|
|
32 |
<property name="msvc_lib" value="${using.microsoft_cpp.basedir}/lib"/>
|
|
|
33 |
|
|
|
34 |
<property name="msvc_lib_debug" value="${msvc_lib}/debug"/>
|
|
|
35 |
<property name="msvc_lib_release" value="${msvc_lib}/release"/>
|
|
|
36 |
|
| 1894 |
crichaud |
37 |
<property name="msvc_libraries_debug" value="kernel32.lib,user32.lib,advapi32.lib,ws2_32.lib,wsock32.lib,msvcrtd.lib,msvcprtd.lib,uuid.lib,oldnames.lib"/>
|
|
|
38 |
<property name="msvc_libraries_release" value="kernel32.lib,user32.lib,advapi32.lib,ws2_32.lib,wsock32.lib,msvcrtd.lib,msvcprtd.lib,uuid.lib,oldnames.lib"/>
|
| 1886 |
mkiran |
39 |
|
|
|
40 |
<compiler id="msvc_compiler_debug_console" name="${msvc_compilername}">
|
|
|
41 |
<compilerarg value="/G6"/>
|
|
|
42 |
<compilerarg value="/MDd"/>
|
|
|
43 |
<compilerarg value="/Ze"/> <!-- Enable langauge extensions -->
|
|
|
44 |
<compilerarg value="/W3"/>
|
|
|
45 |
<compilerarg value="/GX"/>
|
|
|
46 |
<compilerarg value="/Od"/>
|
|
|
47 |
|
|
|
48 |
<compilerarg value="-DNO_STRICT"/>
|
|
|
49 |
<compilerarg value="-D_DEBUG"/>
|
|
|
50 |
<compilerarg value="-DNDEBUG"/>
|
|
|
51 |
|
|
|
52 |
<compilerarg value="-DWIN32"/>
|
|
|
53 |
<compilerarg value="-D_WINDOWS"/>
|
|
|
54 |
</compiler>
|
|
|
55 |
|
|
|
56 |
<compiler id="msvc_compiler_debug_gui" name="${msvc_compilername}">
|
|
|
57 |
<compilerarg value="/G6"/>
|
|
|
58 |
<compilerarg value="/MDd"/>
|
|
|
59 |
<compilerarg value="/Ze"/> <!-- Enable langauge extensions -->
|
|
|
60 |
<compilerarg value="/W3"/>
|
|
|
61 |
<compilerarg value="/GX"/>
|
|
|
62 |
<compilerarg value="/Od"/>
|
|
|
63 |
|
|
|
64 |
<compilerarg value="-DNO_STRICT"/>
|
|
|
65 |
<compilerarg value="-D_DEBUG"/>
|
|
|
66 |
<compilerarg value="-DNDEBUG"/>
|
|
|
67 |
|
|
|
68 |
<compilerarg value="-DWIN32"/>
|
|
|
69 |
<compilerarg value="-D_WINDOWS"/>
|
|
|
70 |
</compiler>
|
|
|
71 |
|
|
|
72 |
<compiler id="msvc_compiler_release_console" name="${msvc_compilername}">
|
|
|
73 |
<compilerarg value="/G6"/>
|
|
|
74 |
<compilerarg value="/MD"/>
|
|
|
75 |
<compilerarg value="/Ze"/> <!-- Enable langauge extensions -->
|
|
|
76 |
<compilerarg value="/W3"/>
|
|
|
77 |
<compilerarg value="/GX"/>
|
|
|
78 |
<compilerarg value="/O2"/>
|
|
|
79 |
<compilerarg value="/Ob2"/>
|
|
|
80 |
|
|
|
81 |
</compiler>
|
|
|
82 |
|
|
|
83 |
<compiler id="msvc_compiler_release_gui" name="${msvc_compilername}">
|
|
|
84 |
<compilerarg value="/G6"/>
|
|
|
85 |
<compilerarg value="/MD"/>
|
|
|
86 |
<compilerarg value="/Ze"/> <!-- Enable langauge extensions -->
|
|
|
87 |
<compilerarg value="/W3"/>
|
|
|
88 |
<compilerarg value="/GX"/>
|
|
|
89 |
<compilerarg value="/O2"/>
|
|
|
90 |
<compilerarg value="/Ob2"/>
|
|
|
91 |
|
|
|
92 |
</compiler>
|
|
|
93 |
|
| 1894 |
crichaud |
94 |
<linker id="msvc_linker_debug_consoleusedinkumware" name="${msvc_compilername}" path="${msvc_bin}">
|
|
|
95 |
<libset dir="${dinkumware_stl_lib}" libs="sxlrtd"/>
|
|
|
96 |
<libset dir="${msvc_lib}" libs="wsock32,ADVAPI32,msvcrtd,msvcprtd,uuid,oldnames,kernel32"/>
|
|
|
97 |
</linker>
|
|
|
98 |
|
|
|
99 |
<linker id="msvc_linker_release_consoleusedinkumware" name="${msvc_compilername}" path="${msvc_bin}">
|
|
|
100 |
<libset dir="${dinkumware_stl_lib}" libs="sxlrt"/>
|
|
|
101 |
<libset dir="${msvc_lib}" libs="wsock32,ADVAPI32,msvcrtd,msvcprtd,uuid,oldnames,kernel32"/>
|
|
|
102 |
</linker>
|
| 1886 |
mkiran |
103 |
|
| 1892 |
crichaud |
104 |
<linker id="msvc_linker_debug_console" name="${msvc_compilername}" path="${msvc_bin}">
|
| 1886 |
mkiran |
105 |
<linkerarg value="-L"${msvc_lib_debug}""/>
|
|
|
106 |
|
|
|
107 |
<syslibset dir="${msvc_lib}" libs="MSVCPRTD,MSVCRTD,OLDNAMES,uuid,kernel32,user32,advapi32,ws2_32" casesensitive="no"/>
|
|
|
108 |
</linker>
|
|
|
109 |
|
| 1892 |
crichaud |
110 |
<linker id="msvc_linker_debug_gui" name="${msvc_compilername}" path="${msvc_bin}">
|
| 1886 |
mkiran |
111 |
<linkerarg value="-L"${msvc_lib_debug}""/>
|
|
|
112 |
|
|
|
113 |
<syslibset dir="${msvc_lib}" libs="MSVCPRTD,MSVCRTD,OLDNAMES,uuid,kernel32,user32,advapi32,ws2_32" casesensitive="no"/>
|
|
|
114 |
</linker>
|
|
|
115 |
|
| 1892 |
crichaud |
116 |
<linker id="msvc_linker_release_console" name="${msvc_compilername}" path="${msvc_bin}">
|
| 1886 |
mkiran |
117 |
<linkerarg value="/L"${msvc_lib_release}""/>
|
|
|
118 |
|
|
|
119 |
<syslibset dir="${msvc_lib}" libs="MSVCPRT,MSVCRT,OLDNAMES,uuid,kernel32,user32,advapi32,ws2_32" casesensitive="no"/>
|
|
|
120 |
</linker>
|
|
|
121 |
|
| 1892 |
crichaud |
122 |
<linker id="msvc_linker_release_gui" name="${msvc_compilername}" path="${msvc_bin}">
|
| 1886 |
mkiran |
123 |
<linkerarg value="/L"${msvc_lib_release}""/>
|
|
|
124 |
|
|
|
125 |
<syslibset dir="${msvc_lib}" libs="MSVCPRT,MSVCRT,OLDNAMES,uuid,kernel32,user32,advapi32,ws2_32" casesensitive="no"/>
|
|
|
126 |
</linker>
|
|
|
127 |
|
|
|
128 |
</project>
|