buildframework/helium/tools/compile/qt/templates/run-qmake.mk.ftl
changeset 587 85df38eb4012
parent 217 0f5e3a7fb6af
child 628 7c4a911dc066
equal deleted inserted replaced
217:0f5e3a7fb6af 587:85df38eb4012
       
     1 <#ftl ns_prefixes={"qt":"http://www.nokia.com/qt"}>  
     1 <#--
     2 <#--
     2 ============================================================================ 
     3 ============================================================================ 
     3 Name        : run-qmake.mk.ftl 
     4 Name        : run-qmake.mk.ftl 
     4 Part of     : Helium 
     5 Part of     : Helium 
     5 
     6 
    23 #
    24 #
    24 # run-qmake-${ant['sysdef.configuration']}.mk
    25 # run-qmake-${ant['sysdef.configuration']}.mk
    25 #
    26 #
    26 ##########################################################################
    27 ##########################################################################
    27 
    28 
    28 <#list data["//unit/@proFile/.."] as unit>
    29 <#list data["//unit/@proFile/.."] + data["//unit/@qt:proFile/.."] as unit>
       
    30     <#assign prefix="qt:" />
       
    31     <#if unit.@proFile[0]??>
       
    32         <#assign prefix="" />
       
    33     </#if>
    29 ##########################################################################
    34 ##########################################################################
    30 /${unit.@bldFile}/bld.inf: /${unit.@bldFile}/${unit.@proFile}
    35 /${unit.@bldFile}/bld.inf: /${unit.@bldFile}/${unit['@${prefix}proFile'][0]}
    31 	@echo cd /${unit.@bldFile} ^&^& qmake -listgen <#if unit.@qmakeArgs[0]??>${unit.@qmakeArgs}<#else>${ant['qt.qmake.default.args']}</#if><#if "${ant['build.system']?lower_case}" = 'sbs-ec'> -spec symbian-sbsv2</#if> ${unit.@proFile}
    36 	@echo cd /${unit.@bldFile} ^&^& qmake -listgen <#if unit['@${prefix}qmakeArgs'][0]??>${unit['@${prefix}qmakeArgs'][0]}<#else>${ant['qt.qmake.default.args']}</#if><#if "${ant['build.system']?lower_case}" = 'sbs-ec'> -spec symbian-sbsv2</#if> ${unit['@${prefix}proFile'][0]}
    32 	-@cd /${unit.@bldFile} && qmake -listgen <#if unit.@qmakeArgs[0]??>${unit.@qmakeArgs}<#else>${ant['qt.qmake.default.args']}</#if> ${unit.@proFile}
    37 	-@cd /${unit.@bldFile} && qmake -listgen <#if unit['@${prefix}qmakeArgs'][0]??>${unit['@${prefix}qmakeArgs'][0]}<#else>${ant['qt.qmake.default.args']}</#if> ${unit['@${prefix}proFile'][0]}
    33 
    38 
    34 all:: /${unit.@bldFile}/bld.inf
    39 all:: /${unit.@bldFile}/bld.inf
    35 
    40 
    36 
    41 
    37 </#list>
    42 </#list>