forked from openfl/openfl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
include.xml
113 lines (74 loc) · 3.28 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<?xml version="1.0" encoding="utf-8"?>
<extension>
<haxedef name="native" if="cpp || neko" />
<set name="native" if="cpp || neko" />
<window stencil-buffer="true" />
<unset name="custom-backend" />
<section if="${target}-backend" unless="no-custom-backend">
<set name="target-backend" value="${target}-backend" />
<set name="custom-backend" value="$${target-backend}" />
</section>
<section unless="lime || custom-backend">
<haxelib name="lime" unless="create" />
<haxelib name="lime" if="display || rebuild" />
<template path="templates" />
</section>
<section if="lime">
<log error="OpenFL ${openfl} is not compatible with Lime ${lime} (version 3.4.* is required)" if="${lime < 3.4.0} || ${lime >= 3.5.0}" />
</section>
<source path="externs/core/flash" if="flash" />
<source path="externs/core/openfl" if="display || flash" />
<source path="externs/extras" if="display" />
<include haxelib="${custom-backend}" if="display custom-backend" />
<haxelib name="${custom-backend}" if="custom-backend" unless="display" />
<section unless="custom-backend">
<section if="native">
<set name="openfl-native" />
<haxedef name="openfl-native" />
<set name="openfl" />
<haxeflag name="--remap" value="flash:openfl" />
<section if="telemetry || advanced-telemetry">
<haxelib name="hxtelemetry" />
<config:hxtelemetry allocations="true" host="localhost" />
</section>
</section>
<section if="flash">
<set name="openfl-flash" />
<haxedef name="openfl-flash" />
<haxedef name="advanced-telemetry" if="telemetry" />
</section>
<section if="html5">
<set name="openfl-html5" />
<haxedef name="openfl-html5" />
<haxeflag name="--remap" value="flash:openfl" />
<module name="openfl" if="modular">
<source path="" package="openfl" exclude="openfl._internal.renderer.console.*|*.GLGraphics|*.SWFLibrary" />
<include type="openfl.display3D._Program3D.Uniform" />
<include type="openfl.display3D._Program3D.UniformMap" />
<include type="openfl.display.DefaultPreloader" />
<include type="openfl.events._EventDispatcher.Listener" />
<include type="openfl.utils.ByteArrayData" />
<include type="openfl._Vector.IVector" />
<include type="openfl._Vector.BoolVector" />
<include type="openfl._Vector.FloatVector" />
<include type="openfl._Vector.FunctionVector" />
<include type="openfl._Vector.IntVector" />
<include type="openfl._Vector.ObjectVector" />
<include type="openfl._internal.renderer.console.ConsoleRenderer" />
<include type="openfl._internal.stage3D._AGALConverter.DestRegister" />
<include type="openfl._internal.stage3D.RegisterMap" />
<include type="openfl._internal.stage3D._AGALConverter.RegisterMapEntry" />
<include type="openfl._internal.stage3D._AGALConverter.SamplerRegister" />
<include type="openfl._internal.stage3D._AGALConverter.SourceRegister" />
</module>
</section>
</section>
<library handler="openfl" type="swf" />
<library handler="openfl" type="swflite" />
<library handler="openfl" type="swf_lite" />
<section if="setup">
<haxelib name="lime" />
<haxelib name="openfl-samples" />
</section>
<include haxelib="openfl-samples" if="create" />
</extension>