3
|
1 |
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
2 |
<build xmlns="http://symbian.com/xml/build" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://symbian.com/xml/build ../../schema/build/2_0.xsd">
|
|
3 |
<!-- build configurations for MSVC compilers -->
|
|
4 |
<var name="tools_base" extends="root">
|
|
5 |
<varRef ref="default.interfaces"/>
|
|
6 |
<varRef ref="default.locations"/>
|
|
7 |
|
|
8 |
<!-- picked up from the Environment -->
|
|
9 |
<env name='MS_CL' default='cl.exe' type='tool' versionCommand='$(MS_CL)' versionResult='Version 12\.[0-9]{2}\.[0-9]{4}'/>
|
|
10 |
<env name='MS_LINK' default='link.exe' type='tool' versionCommand='$(MS_LINK)' versionResult='Version 6\.[0-9]{2}.[0-9]{4}'/>
|
|
11 |
<env name='MS_LIB' default='lib.exe' type='tool' versionCommand='$(MS_LIB)' versionResult='Version 6\.[0-9]{2}.[0-9]{4}'/>
|
|
12 |
<env name='MS_BSCMAKE' default='bscmake.exe' type='tool' versionCommand='$(MS_BSCMAKE)' versionResult='Version 6\.[0-9]{2}.[0-9]{4}'/>
|
|
13 |
|
|
14 |
<!-- MS toolchain environment variables -->
|
|
15 |
<env name='INCLUDE'/>
|
|
16 |
<env name='LIB'/>
|
|
17 |
|
|
18 |
<!-- link to bld.inf and mmp platform names -->
|
|
19 |
<set name='TRADITIONAL_PLATFORM' value='TOOLS'/>
|
|
20 |
<set name='NMAKE' value='nmake'/>
|
|
21 |
<set name='NMAKEFLAGS' value='-nologo -x - '/>
|
|
22 |
<!-- tools options -->
|
|
23 |
<set name='OPT.BROWSEDB' value='-o'/>
|
|
24 |
<set name='OPT.BROWSEFILE' value='-FR'/>
|
|
25 |
<set name='OPT.COMPILE' value='-c '/>
|
|
26 |
<set name='OPT.DEFINE' value='-D '/>
|
|
27 |
<set name='OPT.INCLUDE' value='-I '/>
|
|
28 |
<set name='OPT.IMPLIB' value='-implib:'/>
|
|
29 |
<set name='OPT.LIBDEB' value='-MTd '/>
|
|
30 |
<set name='OPT.LIBREL' value='-MT '/>
|
|
31 |
<set name='OPT.LISTING' value='-Fa'/>
|
|
32 |
<set name='OPT.NOLOGO' value='-nologo'/>
|
|
33 |
<set name='OPT.OBJECTFILE' value='-Fo'/>
|
|
34 |
<set name='OPT.OUTFILE' value='-out:'/>
|
|
35 |
<set name='OPT.PDBFILE' value='-Fd'/>
|
|
36 |
<set name='OPT.PREINCLUDE' value='-FI '/>
|
|
37 |
<set name='OPT.SUBSYSTEM' value='-subsystem:'/>
|
|
38 |
<set name='OPT.SYSINCLUDE' value='-I '/>
|
|
39 |
<set name='OPT.USERINCLUDE' value='-I '/>
|
|
40 |
<set name='PREFIX.RESPONSEFILE' value='@'/>
|
|
41 |
<set name='CC' value='$(MS_CL)'/>
|
|
42 |
<set name='CDEFS' value='__SYMBIAN32__ __VC32__ __TOOLS__ __MSVC6__ __MSVC600__ WIN32 WINDOWS __SUPPORT_CPP_EXCEPTIONS__ $(MMPDEFS)'/>
|
|
43 |
<set name='CDEFS.DEB' value='_DEBUG'/>
|
|
44 |
<set name='CDEFS.REL' value='NDEBUG'/>
|
|
45 |
<set name='CFLAGS' value='$(OPT.COMPILE) $(OPT.NOLOGO) -Zp4 -GF'/>
|
|
46 |
<set name='CFLAGS.DEFAULT.WARNLEVEL' value='-W4'/>
|
|
47 |
<set name='CFLAGS.DEB' value='-Zi -Od'/>
|
|
48 |
<set name='CFLAGS.REL' value='-O1 -Op'/>
|
|
49 |
<set name='SHAREDFLAGS' value='kernel32.lib $(OPT.NOLOGO) -machine:IX86 -ignore:4089 -ignore:4005 -ignore:4098'/>
|
|
50 |
<set name='LD' value='$(MS_LINK)'/>
|
|
51 |
<set name='LFLAGS' value='$(SHAREDFLAGS) -WARN:1'/>
|
|
52 |
<set name='LFLAGS.DEB' value='-debug'/>
|
|
53 |
<set name='LFLAGS.REL' value='-incremental:no'/>
|
|
54 |
<set name='AR' value='$(MS_LIB)'/>
|
|
55 |
<set name='ARFLAGS' value='$(SHAREDFLAGS)'/>
|
|
56 |
<set name='BROWSETOOL' value='$(MS_BSCMAKE)'/>
|
|
57 |
<set name='BROWSEFLAGS' value='$(OPT.NOLOGO)'/>
|
|
58 |
<set name='PLATMACROS.WINDOWS' value='VC32 TOOLS MSVC6 MSVC600'/>
|
|
59 |
<set name='PLATMACROS.LINUX' value='$(PLATMACROS.WINDOWS)'/>
|
|
60 |
<!-- interfaces -->
|
|
61 |
<set name="INTERFACE.exe" value="msvctools.exe"/>
|
|
62 |
<set name="INTERFACE.lib" value="msvctools.lib"/>
|
|
63 |
|
|
64 |
<set name='RELEASEPATHROOT' value='$(EPOCROOT)/epoc32/release'/>
|
|
65 |
<set name='IMPORTLIBPATH' value='$(RELEASEPATHROOT)/tools/udeb'/>
|
|
66 |
|
|
67 |
<set name='MMPDEFS' value=''/>
|
|
68 |
<set name='OUTPUTPATH' value='$(SBS_BUILD_DIR)'/>
|
|
69 |
<set name='SBSV1MAKE' value='$(EPOCROOT)/epoc32/tools/make$(DOTEXE)'/>
|
|
70 |
<set name='SYSTEMINCLUDE' value=''/>
|
|
71 |
<set name='TARGET' value='TARGET_WAS_NOT_SET_PROPERLY'/>
|
|
72 |
<set name='TARGETPATH' value=''/>
|
|
73 |
<set name='TARGETTYPE' value='TARGETTYPE_WAS_NOT_SET_PROPERLY'/>
|
|
74 |
<set name='USERINCLUDE' value=''/>
|
|
75 |
<set name='VARIANTPLATFORM' value='tools'/>
|
|
76 |
</var>
|
|
77 |
|
|
78 |
<var name="tools_deb" extends="tools_base">
|
|
79 |
<set name='FULLVARIANTPATH' value='tools/deb'/>
|
|
80 |
<set name='VARIANTTYPE' value='deb'/>
|
|
81 |
<set name='INSTALLPATH' value=''/> <!-- don't install DEB builds -->
|
|
82 |
<append name='CDEFS' value='$(CDEFS.DEB)'/>
|
|
83 |
<append name='CFLAGS' value='$(CFLAGS.DEB)'/>
|
|
84 |
<append name='LFLAGS' value='$(LFLAGS.DEB)'/>
|
|
85 |
<set name='CFLAGS.LIB' value='$(OPT.LIBDEB)'/>
|
|
86 |
</var>
|
|
87 |
|
|
88 |
<var name="tools_rel" extends="tools_base">
|
|
89 |
<set name='FULLVARIANTPATH' value='tools/rel'/>
|
|
90 |
<set name='VARIANTTYPE' value='rel'/>
|
|
91 |
<set name='INSTALLPATH' value='$(EPOCROOT)/epoc32/tools'/>
|
|
92 |
<append name='CDEFS' value='$(CDEFS.REL)'/>
|
|
93 |
<append name='CFLAGS' value='$(CFLAGS.REL)'/>
|
|
94 |
<append name='LFLAGS' value='$(LFLAGS.REL)'/>
|
|
95 |
<set name='CFLAGS.LIB' value='$(OPT.LIBREL)'/>
|
|
96 |
</var>
|
|
97 |
|
|
98 |
<group name='tools'>
|
|
99 |
<varRef ref='tools_rel'/>
|
|
100 |
<varRef ref='tools_deb'/>
|
|
101 |
</group>
|
|
102 |
</build>
|