buildframework/helium/tools/compile/cmaker.ant.xml
changeset 648 d5a8d436d33b
parent 645 b8d81fa19e7d
equal deleted inserted replaced
647:53d1ab72f5bc 648:d5a8d436d33b
    77             <istrue value="${cmaker.enabled}"/>
    77             <istrue value="${cmaker.enabled}"/>
    78             <isset property="enable.cmaker"/>
    78             <isset property="enable.cmaker"/>
    79         </or>
    79         </or>
    80     </condition>
    80     </condition>
    81 
    81 
       
    82     <!--
       
    83      This property defines the full path location of cmaker under windows. 
       
    84      @type string
       
    85      @scope public
       
    86      @editable allowed
       
    87      @since 11.0.1
       
    88      -->
       
    89     <property name="cmaker.windows.location" value="${build.drive}/epoc32/tools/cmaker.cmd" />
       
    90 
       
    91     <!--
       
    92      This property defines the full path location of cmaker under linux. 
       
    93      @type string
       
    94      @scope public
       
    95      @editable allowed
       
    96      @since 11.0.1
       
    97      -->
       
    98     <property name="cmaker.linux.location" value="${build.drive}/epoc32/tools/cmaker" />
       
    99     
    82     <!--
   100     <!--
    83         The cmakerMacro enables the user to run cmaker commands directly from Ant.
   101         The cmakerMacro enables the user to run cmaker commands directly from Ant.
    84         To configure it just provide NCP and S60 version and the action you want to run.
   102         To configure it just provide NCP and S60 version and the action you want to run.
    85         Default action is WHAT.
   103         Default action is WHAT.
    86         
   104         
   112                     <var name="temp.cmaker.arg2" value="S60=@{s60}"/>
   130                     <var name="temp.cmaker.arg2" value="S60=@{s60}"/>
   113                 </then>
   131                 </then>
   114             </if>
   132             </if>
   115             <hlm:symbianLogHeaderMacro command="cmaker ${temp.cmaker.arg1} ${temp.cmaker.arg2} ACTION=@{action}"
   133             <hlm:symbianLogHeaderMacro command="cmaker ${temp.cmaker.arg1} ${temp.cmaker.arg2} ACTION=@{action}"
   116                     config="CMAKER_@{action}" dir="${cmaker.config.dir}"/>
   134                     config="CMAKER_@{action}" dir="${cmaker.config.dir}"/>
   117             <exec executable="${build.drive}/epoc32/tools/cmaker.cmd" osfamily="windows" dir="${cmaker.config.dir}">
   135             <exec executable="${cmaker.windows.location}" osfamily="windows" dir="${cmaker.config.dir}">
   118                 <arg line="${temp.cmaker.arg1}" />
   136                 <arg line="${temp.cmaker.arg1}" />
   119                 <arg line="${temp.cmaker.arg2}" />
   137                 <arg line="${temp.cmaker.arg2}" />
   120                 <arg value="ACTION=@{action}" />
   138                 <arg value="ACTION=@{action}" />
   121             </exec>
   139             </exec>
   122             <exec executable="${build.drive}/epoc32/tools/cmaker.sh" osfamily="unix" dir="${cmaker.config.dir}">
   140             <exec executable="${cmaker.linux.location}" osfamily="unix" dir="${cmaker.config.dir}">
   123                 <arg line="${temp.cmaker.arg1}" />
   141                 <arg line="${temp.cmaker.arg1}" />
   124                 <arg line="${temp.cmaker.arg2}" />
   142                 <arg line="${temp.cmaker.arg2}" />
   125                 <arg value="ACTION=@{action}" />
   143                 <arg value="ACTION=@{action}" />
   126             </exec>
   144             </exec>
   127             <hlm:symbianLogFooterMacro/>
   145             <hlm:symbianLogFooterMacro/>