sf-tools/run-qmake.ant.xml.ftl
author Simon Howkins <simonh@symbian.org>
Wed, 27 Oct 2010 16:22:14 +0100
changeset 1316 0b4a09013baf
parent 1299 da1ff046acdc
permissions -rw-r--r--
Added copyright messages
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1290
7fa08dafc6b9 Added a template to build Orbit tools.
Johan Groth <johang@symbian.org>
parents:
diff changeset
     1
<?xml version="1.0"?>
7fa08dafc6b9 Added a template to build Orbit tools.
Johan Groth <johang@symbian.org>
parents:
diff changeset
     2
<project name="run-qmake" default="all">
7fa08dafc6b9 Added a template to build Orbit tools.
Johan Groth <johang@symbian.org>
parents:
diff changeset
     3
1299
da1ff046acdc Added Orbit tools support.
Johan Groth <johang@symbian.org>
parents: 1298
diff changeset
     4
    <target name="all" depends="sf-configure-orbit"/>
1290
7fa08dafc6b9 Added a template to build Orbit tools.
Johan Groth <johang@symbian.org>
parents:
diff changeset
     5
7fa08dafc6b9 Added a template to build Orbit tools.
Johan Groth <johang@symbian.org>
parents:
diff changeset
     6
7fa08dafc6b9 Added a template to build Orbit tools.
Johan Groth <johang@symbian.org>
parents:
diff changeset
     7
    <target name="sf-configure-orbit">
7fa08dafc6b9 Added a template to build Orbit tools.
Johan Groth <johang@symbian.org>
parents:
diff changeset
     8
        <sequential>
1299
da1ff046acdc Added Orbit tools support.
Johan Groth <johang@symbian.org>
parents: 1298
diff changeset
     9
                    <echo>INFO: Configuring Orbit host based tools.</echo>
da1ff046acdc Added Orbit tools support.
Johan Groth <johang@symbian.org>
parents: 1298
diff changeset
    10
                    <exec executable="cmd" dir="${r'$'}{build.drive}/sf/mw/hb" failonerror="false" output="${r'$'}{build.drive}/output/logs/${ant['build.id']}_compile_hb_configure.log">
1290
7fa08dafc6b9 Added a template to build Orbit tools.
Johan Groth <johang@symbian.org>
parents:
diff changeset
    11
                        <arg value="/C"/>
7fa08dafc6b9 Added a template to build Orbit tools.
Johan Groth <johang@symbian.org>
parents:
diff changeset
    12
                        <arg value="python"/>
7fa08dafc6b9 Added a template to build Orbit tools.
Johan Groth <johang@symbian.org>
parents:
diff changeset
    13
                        <arg line ="configure.py --host-make-bin=mingw32-make.exe --host-qmake-bin=qmake.exe --qmake-spec=win32-g++ --platform=symbian --qmake-options=MMP_RULES+=EXPORTUNFROZEN CONFIG+=sgimagelite_support DEFINES+=HB_EFFECTS_OPENVG DEFINES+=HB_FILTER_EFFECTS"/>
7fa08dafc6b9 Added a template to build Orbit tools.
Johan Groth <johang@symbian.org>
parents:
diff changeset
    14
                    </exec>
7fa08dafc6b9 Added a template to build Orbit tools.
Johan Groth <johang@symbian.org>
parents:
diff changeset
    15
                        
1299
da1ff046acdc Added Orbit tools support.
Johan Groth <johang@symbian.org>
parents: 1298
diff changeset
    16
                    <echo>INFO: Making host based tools.</echo>
da1ff046acdc Added Orbit tools support.
Johan Groth <johang@symbian.org>
parents: 1298
diff changeset
    17
                    <exec executable="cmd" dir="${r'$'}{build.drive}/sf/mw/hb" failonerror="false" output="${r'$'}{build.drive}/output/logs/${ant['build.id']}_compile_hb_make.log">
1296
ba3ce53a881a Added make stage of tools build.
Johan Groth <johang@symbian.org>
parents: 1295
diff changeset
    18
                        <arg value="/C"/>
1299
da1ff046acdc Added Orbit tools support.
Johan Groth <johang@symbian.org>
parents: 1298
diff changeset
    19
                        <arg value="mingw32-make"/>
1296
ba3ce53a881a Added make stage of tools build.
Johan Groth <johang@symbian.org>
parents: 1295
diff changeset
    20
                    </exec>
1299
da1ff046acdc Added Orbit tools support.
Johan Groth <johang@symbian.org>
parents: 1298
diff changeset
    21
                    <echo>INFO: Exporting Orbit mkspecs to epoc32\tools</echo>
da1ff046acdc Added Orbit tools support.
Johan Groth <johang@symbian.org>
parents: 1298
diff changeset
    22
                    <echo>INFO: Running Orbit theme installer, make install step</echo>
da1ff046acdc Added Orbit tools support.
Johan Groth <johang@symbian.org>
parents: 1298
diff changeset
    23
                    <exec executable="cmd" dir="${r'$'}{build.drive}/sf/mw/hb" failonerror="false" output="${r'$'}{build.drive}/output/logs/${ant['build.id']}_install_hb_configure.log">
da1ff046acdc Added Orbit tools support.
Johan Groth <johang@symbian.org>
parents: 1298
diff changeset
    24
                        <arg value="/C"/>
da1ff046acdc Added Orbit tools support.
Johan Groth <johang@symbian.org>
parents: 1298
diff changeset
    25
                        <arg value="mingw32-make install"/>
da1ff046acdc Added Orbit tools support.
Johan Groth <johang@symbian.org>
parents: 1298
diff changeset
    26
                    </exec>
1290
7fa08dafc6b9 Added a template to build Orbit tools.
Johan Groth <johang@symbian.org>
parents:
diff changeset
    27
        </sequential>
7fa08dafc6b9 Added a template to build Orbit tools.
Johan Groth <johang@symbian.org>
parents:
diff changeset
    28
    </target>
7fa08dafc6b9 Added a template to build Orbit tools.
Johan Groth <johang@symbian.org>
parents:
diff changeset
    29
7fa08dafc6b9 Added a template to build Orbit tools.
Johan Groth <johang@symbian.org>
parents:
diff changeset
    30
    
7fa08dafc6b9 Added a template to build Orbit tools.
Johan Groth <johang@symbian.org>
parents:
diff changeset
    31
</project>