<xml>
	
	<include name="${HXCPP}/build-tool/BuildCommon.xml"/>
	
	<set name="mobile" value="1" if="iphone"/>
	<set name="mobile" value="1" if="android"/>
	<set name="mobile" value="1" if="blackberry"/>
	<set name="mobile" value="1" if="webos"/>
	
	<files id="common">
		
		<compilerflag value="-Iinclude"/>
		
		<file name="common/ExternalInterface.cpp"/>
		
	</files>
	
	<files id="iphone">
		
		<compilerflag value="-IiPhone/include"/>
		<compilerflag value="-Iinclude"/>
		
		<file name="iphone/GameCenter.mm"/>
		
	</files>
	
	<set name="name_prefix" value="lib" if="iphone"/>
	<set name="ARM_ARCH" value="-v7" if="HXCPP_ARMV7"/>
	<set name="name_extra" value=".iphoneos${ARM_ARCH}" if="iphoneos"/>
	<set name="name_extra" value=".iphonesim" if="iphonesim"/>
	<set name="name_extra" value="-x86" if="simulator" unless="iphonesim" />
	<set name="tool" value="exe" unless="iphone"/>
	<set name="tool" value="static_link" if="iphone"/>
	<set name="ndll-tool" value="dll" unless="iphone"/>
	<set name="ndll-tool" value="static_link" if="iphone"/>
	<set name="SLIBEXT" value=".lib" if="windows"/>
	<set name="SLIBEXT" value=".a" unless="windows"/>
	<set name="SLIBEXT" value=".so" if="webos"/>
	
	<target id="NDLL" output="${name_prefix}gamecenter${debug_extra}${name_extra}" tool="linker" toolid="${ndll-tool}">
		
		<outdir name="../ndll/${BINDIR}"/>
		<ext value=".ndll" unless="mobile"/>
		<files id="common"/>
		<files id="iphone" if="iphone"/>
		
	</target>
	
	<target id="default">
		
		<target id="NDLL"/>
		
	</target>
	
</xml>
<xml>
	
	<include name="${HXCPP}/build-tool/BuildCommon.xml"/>
	
	<files id="common">
		
		<compilerflag value="-Iinclude"/>
		
		<file name="common/ExternalInterface.cpp"/>
		
	</files>
	
	<files id="iphone">
		
		<compilerflag value="-IiPhone/include"/>
		<compilerflag value="-Iinclude"/>
		
		<file name="iphone/GameCenter.mm"/>
		
	</files>
	
	<target id="NDLL" output="${LIBPREFIX}gamecenter${debug_extra}${LIBEXTRA}" tool="linker" toolid="${STD_MODULE_LINK}">
		
		<outdir name="../ndll/${BINDIR}"/>
		
		<ext value=".ndll" if="windows || mac || linux" />
		
		<files id="common"/>
		<files id="iphone" if="iphone"/>
		
	</target>
	
	<target id="default">
		
		<target id="NDLL"/>
		
	</target>
	
</xml>
Fix build for arm64, x86_64 builds
Fix build for arm64, x86_64 builds
