forked from openfl/lime
-
Notifications
You must be signed in to change notification settings - Fork 0
/
include.xml
75 lines (50 loc) · 2.29 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
<?xml version="1.0" encoding="utf-8"?>
<extension>
<set name="lime" />
<haxedef name="lime-html5" if="html5" />
<haxedef name="lime-native" if="native" />
<haxedef name="no-compilation" />
<set name="lime-hybrid" value="1" if="hybrid || lime_hybrid" />
<set name="lime-legacy" value="1" if="legacy || lime_legacy" unless="lime-hybrid" />
<section if="web || display">
<unset name="lime-legacy" />
<unset name="lime-hybrid" />
<unset name="legacy" />
<unset name="hybrid" />
</section>
<haxedef name="lime-hybrid" if="lime-hybrid" />
<haxedef name="lime-legacy" if="lime-legacy" />
<include path="legacy/include.xml" if="lime-legacy || lime-hybrid" unless="setup" />
<templatePath name="templates" unless="lime-legacy" />
<sample path="samples" unless="openfl" />
<haxelib name="nodejs" if="nodejs" />
<haxelib name="format" if="java" />
<target name="wiiu" handler="lime-wiiu" />
<haxelib name="lime-wiiu" if="wiiu" />
<target name="console-pc" handler="lime-console-pc" />
<haxelib name="lime-console-pc" if="console-pc" />
<section unless="display || lime-legacy">
<ndll name="std" haxelib="hxcpp" if="cpp" />
<ndll name="regexp" haxelib="hxcpp" if="cpp" />
<ndll name="zlib" haxelib="hxcpp" if="cpp" unless="emscripten || ios || static_link" />
<ndll name="lime" if="cpp || neko || nodejs" />
<dependency name="extension-api" path="dependencies/extension-api" if="android" />
<dependency path="dependencies/webgl-debug.js" if="html5 debug" />
<dependency path="dependencies/stats.min.js" if="html5 stats" />
<haxedef name="native-trace" if="flash" unless="haxe-trace || haxetrace" />
<architecture name="armv7" if="android" />
<haxedef name="lime-cairo" unless="flash || html5" />
<haxedef name="lime-curl" unless="lime-console || emscripten || flash || html5" />
<haxedef name="lime-opengl" unless="lime-console || flash" />
<haxedef name="lime-openal" unless="lime-console || static_link || flash || html5" />
<haxedef name="lime-openal" if="emscripten" />
</section>
<haxelib name="hxcpp" if="setup" />
<haxelib name="lime-samples" if="setup" />
<sample path="${haxelib:lime-samples}" if="create" />
<section if="rebuild">
<config:project>
<rebuild fulldebug="true" />
</config:project>
</section>
</extension>