sbsv2/raptor/lib/config/winscw.xml
author timothy.murphy@nokia.com
Sat, 01 May 2010 00:09:59 +0100
branchfix
changeset 516 cd8318d5fb3a
parent 400 554cc189839f
child 499 cad3b96a4fb1
permissions -rw-r--r--
Somewhat more sane choice of directory. Fix problem where winscw migh have had wrong TARGETEXT var.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
     1
<?xml version="1.0" encoding="ISO-8859-1"?>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
     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: 234
diff changeset
     3
	<!-- build variants for CodeWarrior toolchains -->
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
     4
	<var name="winscw_base" extends="root">
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
     5
		<varRef ref="default.interfaces"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
     6
		<varRef ref="default.locations"/>
400
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
     7
		
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
     8
		<!-- toolchain tools -->
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
     9
		<env name="MWCC" default="mwccsym2$(DOTEXE)" type="tool" versionCommand="$(MWCC) -version" versionResult="Version 3.2.*"/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
    10
		<env name="MWLD" default="mwldsym2$(DOTEXE)" type="tool" versionCommand="$(MWLD) -version" versionResult="Version 3.2.*"/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
    11
		<env name="MWWINRC" default="mwwinrc$(DOTEXE)" type="tool" versionCommand="$(MWWINRC) -version" versionResult="Version 3.2.*"/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
    12
		
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
    13
		<set name="CC" value="$(MWCC)"/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
    14
		<set name="LD" value="$(MWLD)"/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
    15
		<set name="RC" value="$(MWWINRC)"/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
    16
		
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
    17
		<!-- tools and scripts -->
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
    18
		<env name="BMCONV" default="$(EPOCROOT)/epoc32/tools/bmconv$(DOTEXE)" type="tool"/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
    19
		<env name="CHECKLIB" default="$(EPOCROOT)/epoc32/tools/checklib$(DOTEXE)" type="tool"/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
    20
		<env name="EFREEZE" default="$(PERL) $(EPOCROOT)/epoc32/tools/efreeze.pl" type="script"/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
    21
		<env name="MAKEDEF" default="$(PERL) $(EPOCROOT)/epoc32/tools/makedef.pl" type="script"/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
    22
		<env name="PREPDEF" default="$(PERL) $(EPOCROOT)/epoc32/tools/prepdef.pl" type="script"/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
    23
		<env name="RCOMP" default="$(EPOCROOT)/epoc32/tools/rcomp$(DOTEXE)" type="tool"/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
    24
		<env name="SBSV1MAKE" default="$(EPOCROOT)/epoc32/tools/make$(DOTEXE)" type="tool"/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
    25
		<env name="STRINGTABLE" default="$(PERL) $(EPOCROOT)/epoc32/tools/stringtable.pl" type="script"/>	
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    26
		
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    27
		<!-- link to bld.inf and mmp platform names -->
400
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
    28
		<set name="TRADITIONAL_PLATFORM" value="WINSCW"/>
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    29
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    30
		<!-- interfaces -->
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    31
		<set name="INTERFACE.ani" value="Emulator.ani"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    32
		<set name="INTERFACE.bitmap" value="Emulator.bitmap"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    33
		<set name="INTERFACE.exe" value="Emulator.exe"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    34
		<set name="INTERFACE.stdexe" value="Emulator.stdexe"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    35
		<set name="INTERFACE.dll" value="Emulator.dll"/>
81
7653ed978a00 Review rework 1: Enabling winscw builds of PDLLs
Iain Williamson <iain.williamson@nokia.com>
parents: 3
diff changeset
    36
		<set name="INTERFACE.pdll" value="Emulator.pdll"/>
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    37
		<set name="INTERFACE.stddll" value="Emulator.stddll"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    38
		<set name="INTERFACE.exexp" value="Emulator.exexp"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    39
		<set name="INTERFACE.fsy" value="Emulator.fsy"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    40
		<set name="INTERFACE.implib" value="Emulator.implib"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    41
		<set name="INTERFACE.kdll" value="Emulator.kdll"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    42
		<set name="INTERFACE.kext" value="Emulator.kext"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    43
		<set name="INTERFACE.klib" value="Emulator.klib"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    44
		<set name="INTERFACE.ldd" value="Emulator.ldd"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    45
		<set name="INTERFACE.lib" value="Emulator.lib"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    46
		<set name="INTERFACE.stdlib" value="Emulator.stdlib"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    47
		<set name="INTERFACE.none" value="Emulator.none"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    48
		<set name="INTERFACE.pdd" value="Emulator.pdd"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    49
		<set name="INTERFACE.pdl" value="Emulator.pdl"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    50
		<set name="INTERFACE.plugin" value="Emulator.plugin"/>
234
5350032783e4 fix - add support for PLUGIN3 TARGETTYPEs
Jon Chatten
parents: 81
diff changeset
    51
		<set name="INTERFACE.plugin3" value="Emulator.plugin3"/>
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    52
		<set name="INTERFACE.resource" value="Emulator.resource"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    53
		<set name="INTERFACE.textnotifier2" value="Emulator.textnotifier2"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    54
		<set name="INTERFACE.var" value="Emulator.var"/>
400
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
    55
		
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
    56
		<set name="BLDINF_OUTPUTPATH" value="$(SBS_BUILD_DIR)"/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
    57
		<set name="CDEFS" value="__SYMBIAN32__ __CW32__ __WINS__ __WINSCW__ __SUPPORT_CPP_EXCEPTIONS__ _UNICODE $(MMPDEFS)"/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
    58
		<set name="CFLAGS" value="-c -align 4 -warnings on -w nohidevirtual,nounusedexpr -msgstyle gcc -enum int -str pool -exc ms -trigraphs on -cwd source"/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
    59
		<set name="CW_DEFAULT_LIBS" value="gdi32.lib user32.lib kernel32.lib"/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
    60
		<set name="CW_RUNTIME_NONSTATIC" value="MSL_All_x86_Symbian_D.lib"/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
    61
		<set name="CW_RUNTIME_STATIC" value="msl_all_static_mse_symbian_d.lib"/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
    62
		<set name="DEFAULT_NORMAL_NEWLIB" value="scppnwdl.lib"/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
    63
		<set name="DEFAULT_SYSTEM_NEWLIB" value="scppnwdl_kern.lib"/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
    64
		<set name="EPOCSTACKSIZE" value=""/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
    65
		<set name="EXPORT_TYPE" value="dllexport"/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
    66
		<set name="LFLAGS" value="-msgstyle gcc -stdlib -subsystem windows"/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
    67
		<set name="LFLAGS_INFGEN" value="-S -show only,names,unmangled,verbose "/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
    68
		<set name="LFLAGS_SYMGEN" value="-S -show only,names,verbose "/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
    69
		<set name="LINKPATH" value="winscw/udeb"/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
    70
		<set name="LISTING_OPTION" value="-S"/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
    71
		<set name="MMPDEFS" value=""/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
    72
		<set name="NMAKE" value="nmake"/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
    73
		<set name="NMAKEFLAGS" value="-nologo -x - "/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
    74
		<set name="OPT.ADDCOMMAND" value="-addcommand "/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
    75
		<set name="OPT.CHECKLIB.STDCPP" value="stdc++"/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
    76
		<set name="OPT.CHECKLIB.SYMCPP" value="symc++"/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
    77
		<set name="OPT.CHECKLIB.WIN32" value="--coff"/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
    78
		<set name="OPT.DEFFILE" value="-f "/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
    79
		<set name="OPT.DEFINE" value="-d "/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
    80
		<set name="OPT.DEPEND" value="-gccdepends -MD "/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
    81
		<set name="OPT.EXPORT" value="-export "/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
    82
		<set name="OPT.HEAPCOMMIT" value="-heapcommit="/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
    83
		<set name="OPT.HEAPRESERVE" value="-heapreserve="/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
    84
		<set name="OPT.IMAGEBASE" value="-imagebase "/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
    85
		<set name="OPT.IMPLIB" value="-implib "/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
    86
		<set name="OPT.IMPORTLIB" value="-importlib "/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
    87
		<set name="OPT.LIBFILE" value="-l"/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
    88
		<set name="OPT.LIBPATH" value="-l "/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
    89
		<set name="OPT.LISTING" value="-S -show source,unmangled,comments "/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
    90
		<set name="OPT.MAINENTRYPOINT" value="-main "/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
    91
		<set name="OPT.MAP" value="-map "/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
    92
		<set name="OPT.MENTRYPOINT" value="-m "/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
    93
		<set name="OPT.NOCOMPACTIMPORTLIB" value="-nocompactimportlib "/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
    94
		<set name="OPT.NOENTRY" value="-noentry "/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
    95
		<set name="OPT.NOIMPLIB" value="-noimplib "/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
    96
		<set name="OPT.NOSTDINC" value="-nostdinc "/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
    97
		<set name="OPT.OUT" value="-o "/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
    98
		<set name="OPT.PREINCLUDE" value="-include "/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
    99
		<set name="OPT.RUNTIME" value="-runtime "/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
   100
		<set name="OPT.SEARCH" value="-search"/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
   101
		<set name="OPT.SHARED" value="-shared "/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
   102
		<set name="OPT.SPLITINCLUDE" value="-i-"/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
   103
		<set name="OPT.STATICLIBRARY" value="-library "/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
   104
		<set name="OPT.STDINC" value="-stdinc "/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
   105
		<set name="OPT.STDLIB" value="-stdlib "/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
   106
		<set name="OPT.SYM" value="-sym "/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
   107
		<set name="OPT.SYSINCLUDE" value="-i "/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
   108
		<set name="OPT.USERINCLUDE" value="-i "/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
   109
		<set name="OPT.WARNINGS" value="-warnings "/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
   110
		<set name="OPT.WCHAR" value="-wchar_t "/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
   111
		<set name="OUTPUTPATH" value="$(SBS_BUILD_DIR)"/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
   112
		<set name="RELEASEPATH" value="$(EPOCROOT)/epoc32/release"/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
   113
		<set name="STDCPP_DEF" value="__SYMBIAN_STDCPP_SUPPORT__"/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
   114
		<set name="STDCPP_INCLUDE" value="$(EPOCINCLUDE)/stdapis"/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
   115
		<set name="STDCPP_WCHAR_DEF" value="__wchar_t_defined"/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
   116
		<set name="SYMLOOKUPARGS" value="--ignore_export_dir"/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
   117
		<set name="SYMLOOKUPUTIL" value="$(PERL) $(EPOCROOT)/epoc32/tools/sym_lkup_util.pl"/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
   118
		<set name="SYSTEMINCLUDE" value=""/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
   119
		<set name="TARGET" value="TARGET_WAS_NOT_SET_PROPERLY"/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
   120
		<set name="TARGETPATH" value=""/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
   121
		<set name="TARGETTYPE" value="TARGETTYPE_WAS_NOT_SET_PROPERLY"/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
   122
		<set name="USERINCLUDE" value=""/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
   123
		<set name="VARIANTPLATFORM" value="winscw"/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
   124
		
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
   125
		<!-- macros -->
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
   126
		<set name="PLATMACROS.WINDOWS" value="CW32 WINS WINSCW"/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
   127
		<set name="PLATMACROS.LINUX" value="$(PLATMACROS.WINDOWS)"/>
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   128
	</var>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   129
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   130
	<var name="winscw_udeb" extends="winscw_base">
400
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
   131
		<set name="FULLVARIANTPATH" value="winscw/udeb"/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
   132
		<set name="VARIANTTYPE" value="udeb"/>
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   133
400
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
   134
		<append name="CDEFS" value="_DEBUG"/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
   135
		<append name="CFLAGS" value="-g -O0 -inline off"/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
   136
		<append name="LFLAGS" value="-g"/>
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   137
	</var>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   138
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   139
	<var name="winscw_urel" extends="winscw_base">
400
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
   140
		<set name="FULLVARIANTPATH" value="winscw/urel"/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
   141
		<set name="VARIANTTYPE" value="urel"/>
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   142
400
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
   143
		<append name="CDEFS" value="NDEBUG"/>
554cc189839f Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents: 234
diff changeset
   144
		<append name="CFLAGS" value="-O4,s"/>
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   145
	</var>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   146
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   147
	<group name="winscw">
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   148
		<varRef ref="winscw_urel"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   149
		<varRef ref="winscw_udeb"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   150
	</group>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   151
</build>