Do not define -Dlime-legacy when using Lime hybrid

This commit is contained in:
Joshua Granick
2015-04-06 12:37:08 -07:00
parent b23ddbb2c9
commit 5df7984255
8 changed files with 55 additions and 25 deletions

View File

@@ -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" />