82 lines
2.5 KiB
XML
82 lines
2.5 KiB
XML
<?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="included" value="1" if="windows || mac || linux || ios || android || blackberry || tizen || firefox || html5 || flash || emscripten" />
|
|
|
|
<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="ps4" handler="lime-ps4" />
|
|
<haxelib name="lime-ps4" if="ps4" />
|
|
|
|
<target name="wiiu" handler="lime-wiiu" />
|
|
<haxelib name="lime-wiiu" if="wiiu" />
|
|
|
|
<target name="xbox1" handler="lime-xbox1" />
|
|
<haxelib name="lime-xbox1" if="xbox1" />
|
|
|
|
<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="included" />
|
|
|
|
<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" />
|
|
|
|
<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>
|