common/templates/run-qmake.ant.xml.ftl
changeset 1256 468b74292f68
parent 1202 8e3d3bbaed03
equal deleted inserted replaced
1255:9a6d81b932b1 1256:468b74292f68
     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" depends="sf-build-qmake,sf-build-qtextension-tools,sf-configure-orbit,sd-qmake-all-profiles"/>
     4     <target name="all" depends="sf-build-qmake,sf-build-qtmobility-tools,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     <target name="sf-build-qmake">
     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>
    26                     </if>          
    26                     </if>          
    27   </#list>
    27   </#list>
    28                 </sequential>
    28                 </sequential>
    29             </then>
    29             </then>
    30         </if>
    30         </if>
       
    31     </target>
       
    32 
       
    33     <target name="sf-build-qtmobility-tools">
       
    34         <sequential>
       
    35   <#list data["//unit[@bldFile = '/sf/mw/qtmobility/group']"] as unit>
       
    36             <echo>INFO: Configuring qtmobility for ${unit.@bldFile}</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 line="sbs -c tools2 -j 4 --logfile=${r'$'}{build.drive}/output/logs/${ant['build.id']}_compile_qtmobility.log"/>
       
    43                     </exec>
       
    44                 </then>
       
    45                 <else>
       
    46                     <echo message="ERROR: Directory ${r'$'}{build.drive}${unit.@bldFile} doesn't exist."/>
       
    47                 </else>
       
    48             </if>          
       
    49   </#list>
       
    50         </sequential>
    31     </target>
    51     </target>
    32 
    52 
    33     <target name="sf-build-qtextension-tools">
    53     <target name="sf-build-qtextension-tools">
    34         <sequential>
    54         <sequential>
    35   <#list data["//unit[@bldFile = '/sf/mw/qtextensions/group']"] as unit>
    55   <#list data["//unit[@bldFile = '/sf/mw/qtextensions/group']"] as unit>