common/templates/run-qmake.ant.xml.ftl
changeset 1022 b89c1ad56824
parent 1018 334e3f2f79e5
child 1023 ebfa9f019473
equal deleted inserted replaced
1021:1a9b749add1a 1022:b89c1ad56824
     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/qt/qmake.exe" type="file"/>
     5     <if><available file="${r'$'}{build.drive}/epoc32/tools/qt/qmake.exe" type="file"/>
     6     <then>
     6     <then>
       
     7             <sequential>
       
     8     <#list data["//unit/@proFile/.."] as unit>
       
     9           <#if (unit.@proFile=="projects.pro")>
       
    10                 <echo>Running qmake 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">
       
    15                             <arg value="/C"/>
       
    16                             <arg value="qmake"/>
       
    17                             <!-- arg value="-listgen"/ -->
       
    18                             <#if unit.@qmakeArgs[0]??>
       
    19                             <arg line="${unit.@qmakeArgs?xml}"/>
       
    20                             <#else>
       
    21                             <arg line="${ant['qt.qmake.default.args']?xml}"/>
       
    22                             </#if>
       
    23                             <arg value="${unit.@proFile?xml}"/>
       
    24                         </exec>
       
    25                     </then>
       
    26                     <else>
       
    27                        <echo message="ERROR: Directory ${r'$'}{build.drive}/${unit.@bldFile} doesn't exist."/>
       
    28                     </else>
       
    29                 </if>          
       
    30 	  </#if>
       
    31     </#list>
       
    32             </sequential>
     7             <sequential>
    33             <sequential>
     8     <#list data["//unit/@proFile/.."] as unit>
    34     <#list data["//unit/@proFile/.."] as unit>
     9           <#if (unit.@proFile=="hb.pro")>
    35           <#if (unit.@proFile=="hb.pro")>
    10                 <echo>Running configure.py for ${unit.@bldFile}/${unit.@proFile}</echo>
    36                 <echo>Running configure.py for ${unit.@bldFile}/${unit.@proFile}</echo>
    11                 <if>
    37                 <if>