<?xml version="1.0" encoding="utf-8"?>
<project>
	<app preloader="haxepunk.Preloader" unless="hxp_no_preloader"/>
	<app swf-version="11.7" if="flash"/>

	<section unless="hxp_no_assets">
		<assets path="assets/graphics" rename="graphics" include="*.png"/>
		<assets path="assets/font" rename="font" include="*.ttf"/>
		<assets path="assets/font" rename="font" include="*.fnt" type="text"/>
		<assets path="assets/font" rename="font" include="*.png" type="image"/>
	</section>
	<section if="hxp_debug_console">
		<assets path="assets/font" rename="font" include="*.fnt" type="text"/>
		<assets path="assets/font" rename="font" include="*.png" type="image"/>
	</section>

	<haxedef name="source-header" value="haxe"/>
	<haxedef name="webgl" if="html5"/>
	<haxeflag name="--macro" value="haxepunk.utils.Platform.run()"/>
	<haxeflag name="--macro" value="allowPackage('flash')"/>

	<haxelib name="openfl"/>

	<source path="backend/flash"/>
	<source path="backend/lime" if="lime"/>
	<source path="backend/nme" unless="lime"/>
</project>

<?xml version="1.0" encoding="utf-8"?>
<project>
	<app preloader="haxepunk.Preloader" unless="hxp_no_preloader"/>
	<app swf-version="11.7" if="flash"/>

	<haxedef name="hxp_debug" if="debug"/>

	<section unless="hxp_no_assets">
		<assets path="assets/graphics" rename="graphics" include="*.png"/>
		<assets path="assets/font" rename="font" include="*.ttf"/>
		<assets path="assets/font" rename="font" include="*.fnt" type="text"/>
		<assets path="assets/font" rename="font" include="*.png" type="image"/>
	</section>
	<section if="hxp_debug_console">
		<assets path="assets/font" rename="font" include="*.fnt" type="text"/>
		<assets path="assets/font" rename="font" include="*.png" type="image"/>
	</section>

	<haxedef name="source-header" value="haxe"/>
	<haxedef name="webgl" if="html5"/>
	<haxeflag name="--macro" value="haxepunk.utils.Platform.run()"/>
	<haxeflag name="--macro" value="allowPackage('flash')"/>

	<haxelib name="openfl"/>

	<source path="backend/flash"/>
	<source path="backend/lime" if="lime"/>
	<source path="backend/nme" unless="lime"/>
</project>

Define hxp_debug for debug builds
Define hxp_debug for debug builds
