| Line 11... |
Line 11... |
| 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="REPLACE_ANT_CPPTASK"/>
|
14 |
<using name="ant-cpptasks" version="REPLACE_ANT_CPPTASK"/>
|
| 15 |
<using name="ant-windows" version="REPLACE_WINDOWS"/>
|
15 |
<using name="ant-windows" version="REPLACE_WINDOWS"/>
|
| - |
|
16 |
|
| - |
|
17 |
<using name="ant-dinkumware_stl" version="REPLACE_DINKUMWARE_STL"/>
|
| 16 |
|
18 |
|
| 17 |
<!-- Include the Microsoft C++ Compiler/Linker environment from its COTS package -->
|
19 |
<!-- Include the Microsoft C++ Compiler/Linker environment from its COTS package -->
|
| 18 |
<using name="microsoft_cpp" version="REPLACE_MICROSOFT_CPP"/>
|
20 |
<using name="microsoft_cpp" version="REPLACE_MICROSOFT_CPP"/>
|
| 19 |
|
21 |
|
| 20 |
<!-- Set up the environment's Binary path, Include and Library paths -->
|
22 |
<!-- Set up the environment's Binary path, Include and Library paths -->
|
| 21 |
<property name="msvc_bin" value="${using.microsoft_cpp.basedir}/bin"/>
|
23 |
<property name="msvc_bin" value="${using.microsoft_cpp.basedir}/bin"/>
|
| 22 |
<property name="msvc_compilername" value="msvc"/>
|
24 |
<property name="msvc_compilername" value="msvc"/>
|
| 23 |
|
25 |
|
| - |
|
26 |
|
| - |
|
27 |
<if>
|
| - |
|
28 |
<isset property="dinkumware_stl_include"/>
|
| - |
|
29 |
<then>
|
| - |
|
30 |
<echo taskname="msvc-task">using Placing Dinkumware before Microsoft MSVC</echo>
|
| - |
|
31 |
<property name="msvc_include" value="${dinkumware_stl_include};${using.microsoft_cpp.basedir}/include"/>
|
| 24 |
<property name="msvc_include" value="${using.microsoft_cpp.basedir}/include"/>
|
32 |
<property name="msvc_lib" value="${using.microsoft_cpp.basedir}/lib"/>
|
| - |
|
33 |
<property name="msvc_libraries_debug" value="MSVCPRTD,MSVCRTD,OLDNAMES,uuid,kernel32,user32,advapi32,ws2_32"/>
|
| - |
|
34 |
<property name="msvc_libraries_release" value="MSVCPRT,MSVCRT,OLDNAMES,uuid,kernel32,user32,advapi32,ws2_32"/>
|
| - |
|
35 |
</then>
|
| 25 |
|
36 |
<else>
|
| 26 |
<property name="msvc_include_dimkumware_true" value="${dinkumware_stl_include}"/>
|
37 |
<property name="msvc_include" value="${using.microsoft_cpp.basedir}/include"/>
|
| 27 |
<property name="msvc_include_dimkumware_false" value=""/>
|
38 |
<property name="msvc_lib" value="${using.microsoft_cpp.basedir}/lib"/>
|
| - |
|
39 |
<property name="msvc_libraries_debug" value="MSVCPRTD,MSVCRTD,OLDNAMES,uuid,kernel32,user32,advapi32,ws2_32"/>
|
| - |
|
40 |
<property name="msvc_libraries_release" value="MSVCPRT,MSVCRT,OLDNAMES,uuid,kernel32,user32,advapi32,ws2_32"/>
|
| - |
|
41 |
</else>
|
| - |
|
42 |
</if>
|
| 28 |
|
43 |
|
| 29 |
<property name="msvc_include_debug" value="${msvc_include}"/>
|
44 |
<property name="msvc_include_debug" value="${msvc_include}"/>
|
| 30 |
<property name="msvc_include_release" value="${msvc_include}"/>
|
45 |
<property name="msvc_include_release" value="${msvc_include}"/>
|
| - |
|
46 |
<property name="msvc_lib_debug" value="${msvc_lib}"/>
|
| - |
|
47 |
<property name="msvc_lib_release" value="${msvc_lib}"/>
|
| 31 |
|
48 |
|
| 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 |
|
- |
|
| 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"/>
|
- |
|
| 39 |
|
49 |
|
| 40 |
<compiler id="msvc_compiler_debug_console" name="${msvc_compilername}">
|
50 |
<compiler id="msvc_compiler_debug_console" name="${msvc_compilername}">
|
| 41 |
<compilerarg value="/G6"/>
|
51 |
<compilerarg value="/G6"/>
|
| 42 |
<compilerarg value="/MDd"/>
|
52 |
<compilerarg value="/MDd"/>
|
| 43 |
<compilerarg value="/Ze"/> <!-- Enable langauge extensions -->
|
53 |
<compilerarg value="/Ze"/> <!-- Enable langauge extensions -->
|
| Line 89... |
Line 99... |
| 89 |
<compilerarg value="/O2"/>
|
99 |
<compilerarg value="/O2"/>
|
| 90 |
<compilerarg value="/Ob2"/>
|
100 |
<compilerarg value="/Ob2"/>
|
| 91 |
|
101 |
|
| 92 |
</compiler>
|
102 |
</compiler>
|
| 93 |
|
103 |
|
| 94 |
<linker id="msvc_linker_debug_console_dinkumware" 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_console_dinkumware" 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>
|
- |
|
| 103 |
|
- |
|
| 104 |
<linker id="msvc_linker_debug_console" name="${msvc_compilername}" path="${msvc_bin}">
|
104 |
<linker id="msvc_linker_debug_console" name="${msvc_compilername}" path="${msvc_bin}">
|
| 105 |
<linkerarg value="-L"${msvc_lib_debug}""/>
|
105 |
<!-- linkerarg value="${msvc_lib_path_option}"/ -->
|
| 106 |
|
106 |
|
| - |
|
107 |
<syslibset dir="${dinkumware_stl_lib}" libs="${dinkumware_stl_libs_debug}" casesensitive="no" if="dinkumware_stl_lib"/>
|
| 107 |
<syslibset dir="${msvc_lib}" libs="MSVCPRTD,MSVCRTD,OLDNAMES,uuid,kernel32,user32,advapi32,ws2_32" casesensitive="no"/>
|
108 |
<syslibset dir="${msvc_lib_debug}" libs="${msvc_libraries_debug}" casesensitive="no"/>
|
| 108 |
</linker>
|
109 |
</linker>
|
| 109 |
|
110 |
|
| 110 |
<linker id="msvc_linker_debug_gui" name="${msvc_compilername}" path="${msvc_bin}">
|
111 |
<linker id="msvc_linker_debug_gui" name="${msvc_compilername}" path="${msvc_bin}">
|
| 111 |
<linkerarg value="-L"${msvc_lib_debug}""/>
|
112 |
<!-- linkerarg value="${msvc_lib_path_option}"/ -->
|
| 112 |
|
113 |
|
| - |
|
114 |
<syslibset dir="${dinkumware_stl_lib}" libs="${dinkumware_stl_libs_debug}" casesensitive="no" if="dinkumware_stl_lib"/>
|
| 113 |
<syslibset dir="${msvc_lib}" libs="MSVCPRTD,MSVCRTD,OLDNAMES,uuid,kernel32,user32,advapi32,ws2_32" casesensitive="no"/>
|
115 |
<syslibset dir="${msvc_lib_debug}" libs="${msvc_libraries_debug}" casesensitive="no"/>
|
| 114 |
</linker>
|
116 |
</linker>
|
| 115 |
|
117 |
|
| 116 |
<linker id="msvc_linker_release_console" name="${msvc_compilername}" path="${msvc_bin}">
|
118 |
<linker id="msvc_linker_release_console" name="${msvc_compilername}" path="${msvc_bin}">
|
| 117 |
<linkerarg value="/L"${msvc_lib_release}""/>
|
119 |
<!-- linkerarg value="/LIBPATH:${msvc_lib_release}"/ -->
|
| 118 |
|
120 |
|
| - |
|
121 |
<syslibset dir="${dinkumware_stl_lib}" libs="${dinkumware_stl_libs_release}" casesensitive="no" if="dinkumware_stl_lib"/>
|
| 119 |
<syslibset dir="${msvc_lib}" libs="MSVCPRT,MSVCRT,OLDNAMES,uuid,kernel32,user32,advapi32,ws2_32" casesensitive="no"/>
|
122 |
<syslibset dir="${msvc_lib_release}" libs="${msvc_libraries_release}" casesensitive="no"/>
|
| 120 |
</linker>
|
123 |
</linker>
|
| 121 |
|
124 |
|
| 122 |
<linker id="msvc_linker_release_gui" name="${msvc_compilername}" path="${msvc_bin}">
|
125 |
<linker id="msvc_linker_release_gui" name="${msvc_compilername}" path="${msvc_bin}">
|
| 123 |
<linkerarg value="/L"${msvc_lib_release}""/>
|
126 |
<!-- linkerarg value="/LIBPATH:${msvc_lib_release}"/ -->
|
| 124 |
|
- |
|
| - |
|
127 |
<syslibset dir="${dinkumware_stl_lib}" libs="${dinkumware_stl_libs_release}" casesensitive="no" if="dinkumware_stl_lib"/>
|
| 125 |
<syslibset dir="${msvc_lib}" libs="MSVCPRT,MSVCRT,OLDNAMES,uuid,kernel32,user32,advapi32,ws2_32" casesensitive="no"/>
|
128 |
<syslibset dir="${msvc_lib_release}" libs="${msvc_libraries_release}" casesensitive="no"/>
|
| 126 |
</linker>
|
129 |
</linker>
|
| 127 |
|
130 |
|
| 128 |
</project>
|
131 |
</project>
|