Files
eepp/projects/ios/compile-all.sh
Martín Lucas Golini 0064985072 Improved IOS compilation.
2013-12-24 01:44:43 -03:00

15 lines
488 B
Bash
Executable File

#!/bin/sh
cd $(dirname "$0")
./compile-arm7.sh $1 $2 $3 $4 $5
./compile-x86.sh $1 $2 $3 $4 $5
cd ../../libs/ios/
if [ -f arm7/libeepp-static-debug.a ] && [ -f x86/libeepp-static-debug.a ]; then
lipo -create -arch armv7 arm7/libeepp-static-debug.a -arch i386 x86/libeepp-static-debug.a -output ./libeepp-debug.a
fi
if [ -f arm7/libeepp-static.a ] && [ -f x86/libeepp-static.a ]; then
lipo -create -arch armv7 arm7/libeepp-static.a -arch i386 x86/libeepp-static.a -output ./libeepp.a
fi