forked from openfl/openfl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinclude.xml
59 lines (40 loc) · 2.15 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
<?xml version="1.0" encoding="utf-8"?>
<extension>
<haxedef name="native" if="cpp || neko" />
<include haxelib="lime-tools" />
<template path="templates" />
<unset name="custom-backend" />
<section unless="no-custom-backend">
<set name="custom-backend" value="${flash-backend}" if="flash flash-backend" />
<set name="custom-backend" value="${android-backend}" if="android android-backend" />
<set name="custom-backend" value="${blackberry-backend}" if="blackberry blackberry-backend" />
<set name="custom-backend" value="${emscripten-backend}" if="emscripten emscripten-backend" />
<set name="custom-backend" value="${ios-backend}" if="ios ios-backend" />
<set name="custom-backend" value="${linux-backend}" if="linux linux-backend" />
<set name="custom-backend" value="${mac-backend}" if="mac mac-backend" />
<set name="custom-backend" value="${tizen-backend}" if="tizen tizen-backend" />
<set name="custom-backend" value="${webos-backend}" if="webos webos-backend" />
<set name="custom-backend" value="${windows-backend}" if="windows windows-backend" />
<set name="custom-backend" value="${html5-backend}" if="html5 html5-backend" />
<set name="custom-backend" value="${firefoxos-backend}" if="firefoxos firefoxos-backend" />
</section>
<include path="backends/flash/include.xml" if="flash" unless="custom-backend" />
<include path="backends/native/include.xml" if="native" unless="custom-backend" />
<include path="backends/html5/include.xml" if="html5" unless="custom-backend" />
<section if="display">
<include haxelib="${custom-backend}" if="custom-backend" />
</section>
<section unless="display">
<source path="backends/flash" if="flash" unless="custom-backend" />
<source path="backends/native" if="native" unless="custom-backend" />
<source path="backends/html5" if="html5" unless="custom-backend" />
<haxelib name="${custom-backend}" if="custom-backend" />
</section>
<section if="setup">
<haxelib name="lime-tools" />
<haxelib name="openfl-samples" />
<haxelib name="swf" />
<haxelib name="actuate" />
</section>
<sample path="${haxelib:openfl-samples}" if="create"/>
</extension>