forked from HaxePunk/HaxePunk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinclude.xml
32 lines (26 loc) · 1.23 KB
/
include.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?xml version="1.0" encoding="utf-8"?>
<project>
<app preloader="haxepunk.backend.flash.Preloader" unless="hxp_no_preloader"/>
<app swf-version="11.7" if="flash"/>
<haxedef name="hxp_debug" if="debug || hxp_debug_console"/>
<haxedef name="hxp_gl_debug" if="gl_debug"/>
<section unless="hxp_no_assets">
<assets path="assets/haxepunk/graphics" rename="graphics" include="*.png"/>
<assets path="assets/haxepunk/fonts" rename="font" include="*.ttf"/>
<assets path="assets/haxepunk/fonts" rename="font" include="*.fnt" type="text"/>
<assets path="assets/haxepunk/fonts" rename="font" include="*.png" type="image"/>
</section>
<section if="hxp_debug_console">
<assets path="assets/haxepunk/fonts" rename="font" include="*.fnt" type="text"/>
<assets path="assets/haxepunk/fonts" rename="font" include="*.png" type="image"/>
</section>
<haxedef name="source-header" value="haxe"/>
<haxedef name="webgl" if="html5"/>
<haxeflag name="--macro" value="haxepunk.utils.Platform.run()"/>
<haxeflag name="--macro" value="allowPackage('flash')"/>
<haxelib name="openfl"/>
<source path="backend/flash"/>
<source path="backend/lime" if="lime"/>
<source path="backend/nme" unless="lime"/>
<source path="extras" if="hxp_extras"/>
</project>