author | Johan Groth <johang@symbian.org> |
Mon, 11 Oct 2010 14:51:10 +0100 | |
changeset 1266 | acc4b03313f0 |
parent 1265 | c79c5ad11c63 |
child 1267 | da1ff046acdc |
permissions | -rw-r--r-- |
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 |
|
1266 | 4 |
<target name="all" depends="sd-qmake-all-profiles"/> |
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> |
1266 | 9 |
<#list data["//unit[@proFile = 'hb.pro']"] as unit> |
10 |
<echo>Running configure.py for ${unit.@bldFile}/${unit.@proFile}</echo> |
|
11 |
<if> |
|
12 |
<available file="${r'$'}{build.drive}${unit.@bldFile}" type="dir"/> |
|
13 |
<then> |
|
14 |
<exec executable="cmd" dir="${r'$'}{build.drive}${unit.@bldFile}" 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
|
15 |
<arg value="/C"/> |
7fa08dafc6b9
Added a template to build Orbit tools.
Johan Groth <johang@symbian.org>
parents:
diff
changeset
|
16 |
<arg value="python"/> |
7fa08dafc6b9
Added a template to build Orbit tools.
Johan Groth <johang@symbian.org>
parents:
diff
changeset
|
17 |
<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
|
18 |
</exec> |
7fa08dafc6b9
Added a template to build Orbit tools.
Johan Groth <johang@symbian.org>
parents:
diff
changeset
|
19 |
|
1266 | 20 |
<echo>INFO: Exporting Orbit mkspecs to epoc32\tools for ${unit.@bldFile}/${unit.@proFile}</echo> |
21 |
<echo>INFO: Running Orbit theme installer, make install step</echo> |
|
22 |
<exec executable="cmd" dir="${r'$'}{build.drive}${unit.@bldFile}" failonerror="false" output="${r'$'}{build.drive}/output/logs/${ant['build.id']}_install_hb_configure.log"> |
|
1264
ba3ce53a881a
Added make stage of tools build.
Johan Groth <johang@symbian.org>
parents:
1263
diff
changeset
|
23 |
<arg value="/C"/> |
1266 | 24 |
<arg value="make install"/> |
1264
ba3ce53a881a
Added make stage of tools build.
Johan Groth <johang@symbian.org>
parents:
1263
diff
changeset
|
25 |
</exec> |
1266 | 26 |
</then> |
27 |
<else> |
|
28 |
<echo message="ERROR: Directory ${r'$'}{build.drive}${unit.@bldFile} doesn't exist."/> |
|
29 |
</else> |
|
30 |
</if> |
|
31 |
</#list> |
|
1258
7fa08dafc6b9
Added a template to build Orbit tools.
Johan Groth <johang@symbian.org>
parents:
diff
changeset
|
32 |
</sequential> |
7fa08dafc6b9
Added a template to build Orbit tools.
Johan Groth <johang@symbian.org>
parents:
diff
changeset
|
33 |
</target> |
7fa08dafc6b9
Added a template to build Orbit tools.
Johan Groth <johang@symbian.org>
parents:
diff
changeset
|
34 |
|
7fa08dafc6b9
Added a template to build Orbit tools.
Johan Groth <johang@symbian.org>
parents:
diff
changeset
|
35 |
|
7fa08dafc6b9
Added a template to build Orbit tools.
Johan Groth <johang@symbian.org>
parents:
diff
changeset
|
36 |
</project> |