equal
deleted
inserted
replaced
1 <?xml version="1.0"?> |
1 <?xml version="1.0"?> |
2 <project name="run-qmake-${ant['sysdef.configuration']}" default="all"> |
2 <project name="run-qmake-${ant['sysdef.configuration']}" default="all"> |
3 |
3 |
4 <target name="all"> |
4 <target name="all"> |
|
5 <if><available file="${r'$'}{build.drive}/epoc32/tools/qmake.bat" type="file"/> |
|
6 <then> |
|
7 |
5 <parallel threadCount="${r'$'}{number.of.threads}"> |
8 <parallel threadCount="${r'$'}{number.of.threads}"> |
6 <#list data["//unit/@proFile/.."] as unit> |
9 <#list data["//unit/@proFile/.."] as unit> |
7 <sequential> |
10 <sequential> |
|
11 |
|
12 <#if (unit.@proFile!="hb.pro")> |
|
13 |
8 <echo>Running qmake for ${unit.@bldFile}/${unit.@proFile}</echo> |
14 <echo>Running qmake for ${unit.@bldFile}/${unit.@proFile}</echo> |
9 <if> |
15 <if> |
10 <available file="${r'$'}{build.drive}/${unit.@bldFile}" type="dir"/> |
16 <available file="${r'$'}{build.drive}/${unit.@bldFile}" type="dir"/> |
11 <then> |
17 <then> |
12 <exec executable="cmd" dir="${r'$'}{build.drive}/${unit.@bldFile}" failonerror="false"> |
18 <exec executable="cmd" dir="${r'$'}{build.drive}/${unit.@bldFile}" failonerror="false"> |
23 </then> |
29 </then> |
24 <else> |
30 <else> |
25 <echo message="ERROR: Directory ${r'$'}{build.drive}/${unit.@bldFile} doesn't exist."/> |
31 <echo message="ERROR: Directory ${r'$'}{build.drive}/${unit.@bldFile} doesn't exist."/> |
26 </else> |
32 </else> |
27 </if> |
33 </if> |
|
34 <#else> |
|
35 |
|
36 <echo>Running configure.py for ${unit.@bldFile}/${unit.@proFile}</echo> |
|
37 <if> |
|
38 <available file="${r'$'}{build.drive}/${unit.@bldFile}" type="dir"/> |
|
39 <then> |
|
40 <exec executable="cmd" dir="${r'$'}{build.drive}/${unit.@bldFile}" failonerror="false"> |
|
41 <arg value="/C"/> |
|
42 <arg value="python"/> |
|
43 <arg line ="configure.py --qmake-bin=\epoc32\tools\qmake.bat --qmake-spec=symbian-sbsv2 --platform=symbian --qmake-options=MMP_RULES+=EXPORTUNFROZEN"/> |
|
44 </exec> |
|
45 </then> |
|
46 <else> |
|
47 <echo message="ERROR: Directory ${r'$'}{build.drive}/${unit.@bldFile} doesn't exist."/> |
|
48 </else> |
|
49 </if> |
|
50 |
|
51 </#if> |
|
52 |
|
53 |
28 </sequential> |
54 </sequential> |
29 </#list> |
55 </#list> |
30 </parallel> |
56 </parallel> |
|
57 |
|
58 </then> |
|
59 </if> |
31 </target> |
60 </target> |
32 |
61 |
33 </project> |
62 </project> |