31 lines
1.6 KiB
XML
31 lines
1.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<project>
|
|
<meta title="<%=meta.title%>" package="<%=meta.pack%>" version="<%=meta.version%>" company="<%=meta.company%>"/>
|
|
<app main="<%=main%>" path="<%=buildDir%>" file="<%=meta.filename%>" preloader="<%=preloader%>"/>
|
|
<icon path="<%=icon%>"/>
|
|
<% sources.forEach(function(item) { %>
|
|
<source path="<%=item%>"/><% }); %>
|
|
<% assets.forEach(function(item) { %>
|
|
<assets if="flash" path="<%=item%>" rename="<%=item.split('/').pop()%>" include="*" exclude="*.ogg"/>
|
|
<assets unless="flash" path="<%=item%>" rename="<%=item.split('/').pop()%>" include="*" exclude="*.mp3"/><% }); %>
|
|
<% libs.forEach(function(item) { %>
|
|
<haxelib name="<%=item.name%>" version="<%=item.version.split('@').shift()%>"/><% }); %>
|
|
<% macros.forEach(function(item) { %>
|
|
<haxeflag name="--macro" value="<%=item%>"/><% }); %>
|
|
<% flags.forEach(function(item) { %>
|
|
<haxeflag name="-D" value="<%=item%>"/><% }); %>
|
|
|
|
<window fps="<%=meta.fps%>"/>
|
|
<window fps="<%=meta.fps%>" width="<%=meta.width%>" height="<%=meta.height%>" unless="html5"/>
|
|
<window fps="<%=meta.fps%>" width="<%=meta.mobileWidth%>" height="<%=meta.mobileHeight%>"
|
|
orientation="landscape" resizable="false" if="mobile"/>
|
|
|
|
<haxeflag name="-D" value="swf-gpu"/>
|
|
<haxeflag name="-D" value="native-trace"/>
|
|
<haxeflag name="-dce" value="no"/>
|
|
|
|
<% android.forEach(function(item) { %>
|
|
<dependency name="android" path="<%=item.path%>" if="android"/>
|
|
<% item.extensions.forEach(function(extension) { %><android extension="<%=extension%>"/><% }); %><% }); %>
|
|
</project>
|