equal
deleted
inserted
replaced
1 <?xml version="1.0"?> |
1 <?xml version="1.0"?> |
2 <project name="run-qmake" default="all"> |
2 <project name="run-qmake" default="all"> |
3 |
3 |
4 <target name="all"> |
4 <target name="all" depends="sf-build-qmake,sf-build-qtextension-tools,sf-configure-orbit,sd-qmake-all-profiles"/> |
5 |
5 |
6 <!-- Qmake needs to have been built in this environment, to generate bld.infs to built Qt itself. |
6 <!-- Qmake needs to have been built in this environment, to generate bld.infs to built Qt itself. |
7 Qmake.exe only exists in the source tree if its been built --> |
7 Qmake.exe only exists in the source tree if its been built --> |
8 |
8 <target name="sf-build-qmake"> |
9 <if><not><available file="${r'$'}{build.drive}/sf/mw/qt/bin/qmake.exe" type="file"/></not> |
9 <if><not><available file="${r'$'}{build.drive}/sf/mw/qt/bin/qmake.exe" type="file"/></not> |
10 <then> |
10 <then> |
11 <sequential> |
11 <sequential> |
12 <#list data["//unit[@bldFile = '/sf/mw/qt/src/s60installs/deviceconfiguration']"] as unit> |
12 <#list data["//unit[@bldFile = '/sf/mw/qt/src/s60installs/deviceconfiguration']"] as unit> |
13 <echo>INFO: Building and configuring qmake for ${unit.@bldFile}</echo> |
13 <echo>INFO: Building and configuring qmake for ${unit.@bldFile}</echo> |
26 </if> |
26 </if> |
27 </#list> |
27 </#list> |
28 </sequential> |
28 </sequential> |
29 </then> |
29 </then> |
30 </if> |
30 </if> |
|
31 </target> |
31 |
32 |
|
33 <target name="sf-build-qtextension-tools"> |
32 <sequential> |
34 <sequential> |
33 <#list data["//unit[@bldFile = '/sf/mw/qtextensions/group']"] as unit> |
35 <#list data["//unit[@bldFile = '/sf/mw/qtextensions/group']"] as unit> |
34 <echo>INFO: Configuring qtextensions for ${unit.@bldFile}</echo> |
36 <echo>INFO: Configuring qtextensions for ${unit.@bldFile}</echo> |
35 <if> |
37 <if> |
36 <available file="${r'$'}{build.drive}${unit.@bldFile}" type="dir"/> |
38 <available file="${r'$'}{build.drive}${unit.@bldFile}" type="dir"/> |
44 <echo message="ERROR: Directory ${r'$'}{build.drive}${unit.@bldFile} doesn't exist."/> |
46 <echo message="ERROR: Directory ${r'$'}{build.drive}${unit.@bldFile} doesn't exist."/> |
45 </else> |
47 </else> |
46 </if> |
48 </if> |
47 </#list> |
49 </#list> |
48 </sequential> |
50 </sequential> |
|
51 </target> |
49 |
52 |
|
53 <target name="sf-configure-orbit"> |
50 <sequential> |
54 <sequential> |
51 <#list data["//unit[@proFile = 'hb.pro']"] as unit> |
55 <#list data["//unit[@proFile = 'hb.pro']"] as unit> |
52 <echo>Running configure.py for ${unit.@bldFile}/${unit.@proFile}</echo> |
56 <echo>Running configure.py for ${unit.@bldFile}/${unit.@proFile}</echo> |
53 <if> |
57 <if> |
54 <available file="${r'$'}{build.drive}${unit.@bldFile}" type="dir"/> |
58 <available file="${r'$'}{build.drive}${unit.@bldFile}" type="dir"/> |
70 <echo message="ERROR: Directory ${r'$'}{build.drive}${unit.@bldFile} doesn't exist."/> |
74 <echo message="ERROR: Directory ${r'$'}{build.drive}${unit.@bldFile} doesn't exist."/> |
71 </else> |
75 </else> |
72 </if> |
76 </if> |
73 </#list> |
77 </#list> |
74 </sequential> |
78 </sequential> |
|
79 </target> |
75 |
80 |
|
81 <target name="sd-qmake-all-profiles"> |
76 <parallel threadCount="${r'$'}{number.of.threads}"> |
82 <parallel threadCount="${r'$'}{number.of.threads}"> |
77 <#list data["//unit[@proFile != 'hb.pro']"] as unit> |
83 <#list data["//unit[@proFile != 'hb.pro']"] as unit> |
78 <sequential> |
84 <sequential> |
79 <echo>Running qmake for ${unit.@bldFile}/${unit.@proFile}</echo> |
85 <echo>Running qmake for ${unit.@bldFile}/${unit.@proFile}</echo> |
80 <if> |
86 <if> |