mirror of
https://github.com/Relintai/pandemonium_engine_minimal.git
synced 2024-12-21 16:56:50 +01:00
22 lines
640 B
Bash
22 lines
640 B
Bash
|
|
||
|
export SCONS_CACHE=~/.scons_cache
|
||
|
export SCONS_CACHE_LIMIT=5000
|
||
|
|
||
|
cd ./pandemonium_engine
|
||
|
|
||
|
scons -j6 p=iphone tools=no target=release arch=arm module_arkit_enabled=no game_center=no
|
||
|
scons -j6 p=iphone tools=no target=release arch=arm64 module_arkit_enabled=no game_center=no
|
||
|
lipo -create bin/libpandemonium.iphone.opt.arm.a bin/libpandemonium.iphone.opt.arm64.a -output bin/libpandemonium.iphone.release.fat.a
|
||
|
rm bin/ios_xcode/libpandemonium.iphone.release.fat.a
|
||
|
cp bin/libpandemonium.iphone.release.fat.a bin/ios_xcode/libpandemonium.iphone.release.fat.a
|
||
|
|
||
|
rm bin/iphone.zip
|
||
|
cd bin/ios_xcode
|
||
|
zip -r -X ../iphone.zip .
|
||
|
|
||
|
cd ..
|
||
|
cd ..
|
||
|
|
||
|
|
||
|
cd ..
|