sf-tools/run-qmake.ant.xml.ftl
changeset 1299 da1ff046acdc
parent 1298 acc4b03313f0
equal deleted inserted replaced
1298:acc4b03313f0 1299:da1ff046acdc
     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="sd-qmake-all-profiles"/>
     4     <target name="all" depends="sf-configure-orbit"/>
     5 
     5 
     6 
     6 
     7     <target name="sf-configure-orbit">
     7     <target name="sf-configure-orbit">
     8         <sequential>
     8         <sequential>
     9   <#list data["//unit[@proFile = 'hb.pro']"] as unit>
     9                     <echo>INFO: Configuring Orbit host based tools.</echo>
    10             <echo>Running configure.py for ${unit.@bldFile}/${unit.@proFile}</echo>
    10                     <exec executable="cmd" dir="${r'$'}{build.drive}/sf/mw/hb" failonerror="false" output="${r'$'}{build.drive}/output/logs/${ant['build.id']}_compile_hb_configure.log">
    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" output="${r'$'}{build.drive}/output/logs/${ant['build.id']}_compile_hb_configure.log">
       
    15                         <arg value="/C"/>
    11                         <arg value="/C"/>
    16                         <arg value="python"/>
    12                         <arg value="python"/>
    17                         <arg line ="configure.py --host-make-bin=mingw32-make.exe --host-qmake-bin=qmake.exe --qmake-spec=win32-g++ --platform=symbian --qmake-options=MMP_RULES+=EXPORTUNFROZEN CONFIG+=sgimagelite_support DEFINES+=HB_EFFECTS_OPENVG DEFINES+=HB_FILTER_EFFECTS"/>
    13                         <arg line ="configure.py --host-make-bin=mingw32-make.exe --host-qmake-bin=qmake.exe --qmake-spec=win32-g++ --platform=symbian --qmake-options=MMP_RULES+=EXPORTUNFROZEN CONFIG+=sgimagelite_support DEFINES+=HB_EFFECTS_OPENVG DEFINES+=HB_FILTER_EFFECTS"/>
    18                     </exec>
    14                     </exec>
    19                         
    15                         
    20                     <echo>INFO: Exporting Orbit mkspecs to epoc32\tools for ${unit.@bldFile}/${unit.@proFile}</echo>
    16                     <echo>INFO: Making host based tools.</echo>
       
    17                     <exec executable="cmd" dir="${r'$'}{build.drive}/sf/mw/hb" failonerror="false" output="${r'$'}{build.drive}/output/logs/${ant['build.id']}_compile_hb_make.log">
       
    18                         <arg value="/C"/>
       
    19                         <arg value="mingw32-make"/>
       
    20                     </exec>
       
    21                     <echo>INFO: Exporting Orbit mkspecs to epoc32\tools</echo>
    21                     <echo>INFO: Running Orbit theme installer, make install step</echo>
    22                     <echo>INFO: Running Orbit theme installer, make install step</echo>
    22                     <exec executable="cmd" dir="${r'$'}{build.drive}${unit.@bldFile}" failonerror="false" output="${r'$'}{build.drive}/output/logs/${ant['build.id']}_install_hb_configure.log">
    23                     <exec executable="cmd" dir="${r'$'}{build.drive}/sf/mw/hb" failonerror="false" output="${r'$'}{build.drive}/output/logs/${ant['build.id']}_install_hb_configure.log">
    23                         <arg value="/C"/>
    24                         <arg value="/C"/>
    24                         <arg value="make install"/>
    25                         <arg value="mingw32-make install"/>
    25                     </exec>
    26                     </exec>
    26                 </then>
       
    27                 <else>
       
    28                     <echo message="ERROR: Directory ${r'$'}{build.drive}${unit.@bldFile} doesn't exist."/>
       
    29                 </else>
       
    30             </if>
       
    31   </#list>
       
    32         </sequential>
    27         </sequential>
    33     </target>
    28     </target>
    34 
    29 
    35     
    30     
    36 </project>
    31 </project>