equal
deleted
inserted
replaced
|
1 <?xml version="1.0"?> |
|
2 <project name="run-qmake-${ant['sysdef.configuration']}" default="all"> |
|
3 |
|
4 <target name="all"> |
|
5 <parallel threadCount="${r'$'}{number.of.threads}"> |
|
6 <#list data["//unit/@proFile/.."] as unit> |
|
7 <sequential> |
|
8 <echo>Running qmake for ${unit.@bldFile}/${unit.@proFile}</echo> |
|
9 <if> |
|
10 <available file="${r'$'}{build.drive}/${unit.@bldFile}" type="dir"/> |
|
11 <then> |
|
12 <exec executable="cmd" dir="${r'$'}{build.drive}/${unit.@bldFile}" failonerror="false"> |
|
13 <arg value="/C"/> |
|
14 <arg value="qmake"/> |
|
15 <!-- arg value="-listgen"/ --> |
|
16 <#if unit.@qmakeArgs[0]??> |
|
17 <arg line="${unit.@qmakeArgs?xml}"/> |
|
18 <#else> |
|
19 <arg line="${ant['qt.qmake.default.args']?xml}"/> |
|
20 </#if> |
|
21 <arg value="${unit.@proFile?xml}"/> |
|
22 </exec> |
|
23 </then> |
|
24 <else> |
|
25 <echo message="ERROR: Directory ${r'$'}{build.drive}/${unit.@bldFile} doesn't exist."/> |
|
26 </else> |
|
27 </if> |
|
28 </sequential> |
|
29 </#list> |
|
30 </parallel> |
|
31 </target> |
|
32 |
|
33 </project> |