forked from openfl/openfl
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinclude.xml
More file actions
81 lines (50 loc) · 1.86 KB
/
Copy pathinclude.xml
File metadata and controls
81 lines (50 loc) · 1.86 KB
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
<?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>
<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" />
<dependency path="dependencies/soundjs.min.js" />
</section>
</section>
<section if="setup">
<haxelib name="lime" />
<haxelib name="openfl-samples" />
<haxelib name="swf" />
</section>
<include haxelib="openfl-samples" if="create" />
</extension>