author | Richard Taylor <richard.i.taylor@nokia.com> |
Mon, 29 Mar 2010 14:56:03 +0100 | |
branch | fix |
changeset 417 | ea9157619e03 |
parent 400 | 554cc189839f |
permissions | -rw-r--r-- |
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"> |
|
400
554cc189839f
Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents:
383
diff
changeset
|
3 |
<!-- build variants for MSVC toolchains --> |
3 | 4 |
<var name="tools_base" extends="root"> |
5 |
<varRef ref="default.interfaces"/> |
|
6 |
<varRef ref="default.locations"/> |
|
7 |
||
400
554cc189839f
Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents:
383
diff
changeset
|
8 |
<!-- toolchain tools --> |
3 | 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'/> |
|
400
554cc189839f
Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents:
383
diff
changeset
|
20 |
|
554cc189839f
Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents:
383
diff
changeset
|
21 |
<!-- interfaces --> |
554cc189839f
Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents:
383
diff
changeset
|
22 |
<set name="INTERFACE.exe" value="msvctools.exe"/> |
554cc189839f
Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents:
383
diff
changeset
|
23 |
<set name="INTERFACE.lib" value="msvctools.lib"/> |
554cc189839f
Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents:
383
diff
changeset
|
24 |
|
3 | 25 |
<set name='NMAKE' value='nmake'/> |
26 |
<set name='NMAKEFLAGS' value='-nologo -x - '/> |
|
400
554cc189839f
Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents:
383
diff
changeset
|
27 |
|
3 | 28 |
<!-- tools options --> |
29 |
<set name='OPT.BROWSEDB' value='-o'/> |
|
30 |
<set name='OPT.BROWSEFILE' value='-FR'/> |
|
31 |
<set name='OPT.COMPILE' value='-c '/> |
|
32 |
<set name='OPT.DEFINE' value='-D '/> |
|
33 |
<set name='OPT.INCLUDE' value='-I '/> |
|
34 |
<set name='OPT.IMPLIB' value='-implib:'/> |
|
35 |
<set name='OPT.LIBDEB' value='-MTd '/> |
|
36 |
<set name='OPT.LIBREL' value='-MT '/> |
|
37 |
<set name='OPT.LISTING' value='-Fa'/> |
|
38 |
<set name='OPT.NOLOGO' value='-nologo'/> |
|
39 |
<set name='OPT.OBJECTFILE' value='-Fo'/> |
|
40 |
<set name='OPT.OUTFILE' value='-out:'/> |
|
41 |
<set name='OPT.PREINCLUDE' value='-FI '/> |
|
42 |
<set name='OPT.SUBSYSTEM' value='-subsystem:'/> |
|
43 |
<set name='OPT.SYSINCLUDE' value='-I '/> |
|
44 |
<set name='OPT.USERINCLUDE' value='-I '/> |
|
45 |
<set name='PREFIX.RESPONSEFILE' value='@'/> |
|
46 |
<set name='CC' value='$(MS_CL)'/> |
|
47 |
<set name='CDEFS' value='__SYMBIAN32__ __VC32__ __TOOLS__ __MSVC6__ __MSVC600__ WIN32 WINDOWS __SUPPORT_CPP_EXCEPTIONS__ $(MMPDEFS)'/> |
|
48 |
<set name='CDEFS.DEB' value='_DEBUG'/> |
|
49 |
<set name='CDEFS.REL' value='NDEBUG'/> |
|
50 |
<set name='CFLAGS' value='$(OPT.COMPILE) $(OPT.NOLOGO) -Zp4 -GF'/> |
|
51 |
<set name='CFLAGS.DEFAULT.WARNLEVEL' value='-W4'/> |
|
383
770bd0892cdd
Remove .pdb generation from tools deb builds (enabling full parallel builds).
Jon Chatten
parents:
3
diff
changeset
|
52 |
<set name='CFLAGS.DEB' value='-Od'/> |
3 | 53 |
<set name='CFLAGS.REL' value='-O1 -Op'/> |
54 |
<set name='SHAREDFLAGS' value='kernel32.lib $(OPT.NOLOGO) -machine:IX86 -ignore:4089 -ignore:4005 -ignore:4098'/> |
|
55 |
<set name='LD' value='$(MS_LINK)'/> |
|
56 |
<set name='LFLAGS' value='$(SHAREDFLAGS) -WARN:1'/> |
|
57 |
<set name='LFLAGS.DEB' value='-debug'/> |
|
58 |
<set name='LFLAGS.REL' value='-incremental:no'/> |
|
59 |
<set name='AR' value='$(MS_LIB)'/> |
|
60 |
<set name='ARFLAGS' value='$(SHAREDFLAGS)'/> |
|
61 |
<set name='BROWSETOOL' value='$(MS_BSCMAKE)'/> |
|
62 |
<set name='BROWSEFLAGS' value='$(OPT.NOLOGO)'/> |
|
63 |
<set name='PLATMACROS.WINDOWS' value='VC32 TOOLS MSVC6 MSVC600'/> |
|
64 |
<set name='PLATMACROS.LINUX' value='$(PLATMACROS.WINDOWS)'/> |
|
65 |
||
66 |
<set name='RELEASEPATHROOT' value='$(EPOCROOT)/epoc32/release'/> |
|
67 |
<set name='IMPORTLIBPATH' value='$(RELEASEPATHROOT)/tools/udeb'/> |
|
68 |
||
69 |
<set name='MMPDEFS' value=''/> |
|
70 |
<set name='OUTPUTPATH' value='$(SBS_BUILD_DIR)'/> |
|
71 |
<set name='SBSV1MAKE' value='$(EPOCROOT)/epoc32/tools/make$(DOTEXE)'/> |
|
72 |
<set name='SYSTEMINCLUDE' value=''/> |
|
73 |
<set name='TARGET' value='TARGET_WAS_NOT_SET_PROPERLY'/> |
|
74 |
<set name='TARGETPATH' value=''/> |
|
75 |
<set name='TARGETTYPE' value='TARGETTYPE_WAS_NOT_SET_PROPERLY'/> |
|
76 |
<set name='USERINCLUDE' value=''/> |
|
77 |
<set name='VARIANTPLATFORM' value='tools'/> |
|
78 |
</var> |
|
79 |
||
80 |
<var name="tools_deb" extends="tools_base"> |
|
81 |
<set name='FULLVARIANTPATH' value='tools/deb'/> |
|
82 |
<set name='VARIANTTYPE' value='deb'/> |
|
83 |
<set name='INSTALLPATH' value=''/> <!-- don't install DEB builds --> |
|
84 |
<append name='CDEFS' value='$(CDEFS.DEB)'/> |
|
85 |
<append name='CFLAGS' value='$(CFLAGS.DEB)'/> |
|
86 |
<append name='LFLAGS' value='$(LFLAGS.DEB)'/> |
|
87 |
<set name='CFLAGS.LIB' value='$(OPT.LIBDEB)'/> |
|
88 |
</var> |
|
89 |
||
90 |
<var name="tools_rel" extends="tools_base"> |
|
91 |
<set name='FULLVARIANTPATH' value='tools/rel'/> |
|
92 |
<set name='VARIANTTYPE' value='rel'/> |
|
93 |
<set name='INSTALLPATH' value='$(EPOCROOT)/epoc32/tools'/> |
|
94 |
<append name='CDEFS' value='$(CDEFS.REL)'/> |
|
95 |
<append name='CFLAGS' value='$(CFLAGS.REL)'/> |
|
96 |
<append name='LFLAGS' value='$(LFLAGS.REL)'/> |
|
97 |
<set name='CFLAGS.LIB' value='$(OPT.LIBREL)'/> |
|
98 |
</var> |
|
99 |
||
100 |
<group name='tools'> |
|
101 |
<varRef ref='tools_rel'/> |
|
102 |
<varRef ref='tools_deb'/> |
|
103 |
</group> |
|
104 |
</build> |