Do not define -Dlime-legacy when using Lime hybrid
This commit is contained in:
16
include.xml
16
include.xml
@@ -9,10 +9,22 @@
|
||||
|
||||
<set name="included" value="1" if="windows || mac || linux || ios || android || blackberry || tizen || firefox || html5 || flash || emscripten" />
|
||||
|
||||
<set name="lime-legacy" value="1" if="legacy || lime_legacy" />
|
||||
<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" unless="setup" />
|
||||
<include path="legacy/include.xml" if="lime-legacy || lime-hybrid" unless="setup" />
|
||||
<templatePath name="templates" unless="lime-legacy" />
|
||||
<sample path="samples" unless="openfl" />
|
||||
|
||||
|
||||
Reference in New Issue
Block a user