diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2020-10-07 21:00:08 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2020-10-07 21:00:17 +0200 |
commit | 156befdeddf1243073369a5fed0baa7050a363e1 (patch) | |
tree | d7c0a3dc9a4c9871446d4df06e853c173b5e57f4 | |
parent | 71c1550e14b45e74fae5d21ed578fd452f0c3bcc (diff) | |
download | bin-156befdeddf1243073369a5fed0baa7050a363e1.zip bin-156befdeddf1243073369a5fed0baa7050a363e1.tar.gz |
build-iphone : add x86_64 target
-rwxr-xr-x | godot/build-iphone | 7 |
1 files 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/ |