From 156befdeddf1243073369a5fed0baa7050a363e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Wed, 7 Oct 2020 21:00:08 +0200 Subject: build-iphone : add x86_64 target --- godot/build-iphone | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/godot/build-iphone b/godot/build-iphone index cfaaee1..153fb6f 100755 --- a/godot/build-iphone +++ b/godot/build-iphone @@ -23,11 +23,12 @@ function build() find godot -name \*.gen.cpp -delete pushd godot - scons -j $J platform=iphone arch=arm target=release_debug IPHONESDK=$DIR/iPhoneOS9.1.sdk IPHONEPATH=$TOOLCHAIN ios_triple=arm-apple-darwin11- || return 1 - scons -j $J platform=iphone arch=arm64 target=release_debug IPHONESDK=$DIR/iPhoneOS9.1.sdk IPHONEPATH=$TOOLCHAIN ios_triple=arm-apple-darwin11- || return 1 + scons -j $J platform=iphone arch=arm target=release IPHONESDK=$DIR/iPhoneOS9.1.sdk IPHONEPATH=$TOOLCHAIN ios_triple=arm-apple-darwin11- || return 1 + scons -j $J platform=iphone arch=arm64 target=release IPHONESDK=$DIR/iPhoneOS9.1.sdk IPHONEPATH=$TOOLCHAIN ios_triple=arm-apple-darwin11- || return 1 + # scons -j $J platform=iphone arch=x86_64 target=release IPHONESDK=$DIR/iPhoneOS9.1.sdk IPHONEPATH=$TOOLCHAIN ios_triple=arm-apple-darwin11- || return 1 for module in libgodot libgodot_camera_module libgodot_arkit_module do - $TOOLCHAIN/arm-apple-darwin11-lipo -create bin/$module.iphone.opt.debug.arm.a bin/$module.iphone.opt.debug.arm64.a -output bin/$module.iphone.debug.fat.a + $TOOLCHAIN/arm-apple-darwin11-lipo -create bin/$module.iphone.opt.arm.a bin/$module.iphone.opt.arm64.a -output bin/$module.iphone.fat.a done popd mkdir iphone-$VERSION && mv godot/bin/libgodot* iphone-$VERSION/ -- cgit v1.1-2-g2b99