buildframework/helium/tools/compile/cmaker.ant.xml
changeset 217 0f5e3a7fb6af
parent 1 be27ed110b50
child 587 85df38eb4012
equal deleted inserted replaced
181:59bb7c4d6172 217:0f5e3a7fb6af
    18 
    18 
    19 Description:
    19 Description:
    20 
    20 
    21 ============================================================================
    21 ============================================================================
    22 -->
    22 -->
       
    23 <!--* @package compile -->
    23 <project name="compile.cmaker" xmlns:hlm="http://www.nokia.com/helium">
    24 <project name="compile.cmaker" xmlns:hlm="http://www.nokia.com/helium">
    24     <description>
    25     <description>
    25         cMaker support.
    26         cMaker support.
    26     </description>
    27     </description>
    27     
    28     
       
    29     <!-- Location of the cmaker component to install it.
       
    30     @type string
       
    31     @scope private
       
    32     -->
    28     <property name="cmaker.component.dir" location="${build.drive}/tools/cmaker"/>
    33     <property name="cmaker.component.dir" location="${build.drive}/tools/cmaker"/>
       
    34     <!-- Directory where to execute cMaker.
       
    35     @type string
       
    36     @scope private
       
    37     -->
    29     <property name="cmaker.config.dir" location="${build.drive}/config"/>
    38     <property name="cmaker.config.dir" location="${build.drive}/config"/>
       
    39     <!-- Version of PP(NCP) configuration to be exported
       
    40     @type string
       
    41     -->
    30     <property name="cmaker.pp.version" value=""/>
    42     <property name="cmaker.pp.version" value=""/>
       
    43     <!-- Version of S60(require cmaker.pp.version to be set) configuration to be exported
       
    44     @type string
       
    45     -->
    31     <property name="cmaker.s60.version" value=""/>
    46     <property name="cmaker.s60.version" value=""/>
       
    47     <!-- Custom label added to the cmaker logs.
       
    48     @type string
       
    49     -->
    32     <property name="cmaker.log.label" value=""/>
    50     <property name="cmaker.log.label" value=""/>
    33 
    51 
    34     <!--
    52     <!--
    35         The cmakerMacro enables the user to run cmaker commands directly from Ant.
    53         The cmakerMacro enables the user to run cmaker commands directly from Ant.
    36         To configure it just provide NCP and S60 version and the action you want to run.
    54         To configure it just provide NCP and S60 version and the action you want to run.
    76     </macrodef>
    94     </macrodef>
    77     
    95     
    78     <!--  Installing CMaker. -->    
    96     <!--  Installing CMaker. -->    
    79     <target name="cmaker-install">
    97     <target name="cmaker-install">
    80         <hlm:recordStartMacro name="${build.id}_install.cmaker.log" emacsmode="true"/>
    98         <hlm:recordStartMacro name="${build.id}_install.cmaker.log" emacsmode="true"/>
    81         <exec executable="${build.drive}/epoc32/tools/make.exe" dir="${cmaker.component.dir}">
    99         <exec executable="${cmaker.component.dir}/bin/mingw_make.exe" dir="${cmaker.component.dir}">
    82             <arg line="install"/>
   100             <arg line="install"/>
    83         </exec>
   101         </exec>
    84         <hlm:recordStopMacro name="${build.id}_install.cmaker.log"/>
   102         <hlm:recordStopMacro name="${build.id}_install.cmaker.log"/>
    85         <!-- Blocks packaging configuration generation. -->
   103         <!-- Blocks packaging configuration generation. -->
    86         <if>
   104         <if>