sf-tools/run-qmake.ant.xml.ftl
author Simon Howkins <simonh@symbian.org>
Tue, 19 Oct 2010 11:11:40 +0100
changeset 1277 2ea5b5b66973
parent 1267 da1ff046acdc
permissions -rw-r--r--
Adjusted release tagging, so that it clones from the package source, not dst, and hence it's much less likely that the tagging operation will create multiple heads on the TAGS branch.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1258
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
1267
da1ff046acdc Added Orbit tools support.
Johan Groth <johang@symbian.org>
parents: 1266
diff changeset
     4
    <target name="all" depends="sf-configure-orbit"/>
1258
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>
1267
da1ff046acdc Added Orbit tools support.
Johan Groth <johang@symbian.org>
parents: 1266
diff changeset
     9
                    <echo>INFO: Configuring Orbit host based tools.</echo>
da1ff046acdc Added Orbit tools support.
Johan Groth <johang@symbian.org>
parents: 1266
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">
1258
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
                        
1267
da1ff046acdc Added Orbit tools support.
Johan Groth <johang@symbian.org>
parents: 1266
diff changeset
    16
                    <echo>INFO: Making host based tools.</echo>
da1ff046acdc Added Orbit tools support.
Johan Groth <johang@symbian.org>
parents: 1266
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">
1264
ba3ce53a881a Added make stage of tools build.
Johan Groth <johang@symbian.org>
parents: 1263
diff changeset
    18
                        <arg value="/C"/>
1267
da1ff046acdc Added Orbit tools support.
Johan Groth <johang@symbian.org>
parents: 1266
diff changeset
    19
                        <arg value="mingw32-make"/>
1264
ba3ce53a881a Added make stage of tools build.
Johan Groth <johang@symbian.org>
parents: 1263
diff changeset
    20
                    </exec>
1267
da1ff046acdc Added Orbit tools support.
Johan Groth <johang@symbian.org>
parents: 1266
diff changeset
    21
                    <echo>INFO: Exporting Orbit mkspecs to epoc32\tools</echo>
da1ff046acdc Added Orbit tools support.
Johan Groth <johang@symbian.org>
parents: 1266
diff changeset
    22
                    <echo>INFO: Running Orbit theme installer, make install step</echo>
da1ff046acdc Added Orbit tools support.
Johan Groth <johang@symbian.org>
parents: 1266
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: 1266
diff changeset
    24
                        <arg value="/C"/>
da1ff046acdc Added Orbit tools support.
Johan Groth <johang@symbian.org>
parents: 1266
diff changeset
    25
                        <arg value="mingw32-make install"/>
da1ff046acdc Added Orbit tools support.
Johan Groth <johang@symbian.org>
parents: 1266
diff changeset
    26
                    </exec>
1258
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>