2013-12-09 01:10:42 +00:00
|
|
|
#!/bin/bash
|
2013-03-26 13:18:20 +00:00
|
|
|
|
|
|
|
set -e
|
|
|
|
|
2013-04-29 22:57:14 +00:00
|
|
|
BASE_DIR="$PWD"
|
|
|
|
RARCH_DIR=$BASE_DIR/dist
|
|
|
|
RARCH_DIST_DIR=$RARCH_DIR/ios
|
2013-05-18 01:40:05 +00:00
|
|
|
FORMAT=_ios
|
2013-04-30 04:35:47 +00:00
|
|
|
FORMAT_COMPILER_TARGET=ios
|
|
|
|
FORMAT_COMPILER_TARGET_ALT=ios
|
|
|
|
FORMAT_EXT=dylib
|
|
|
|
JOBS=7
|
2013-05-18 23:39:21 +00:00
|
|
|
MAKE=make
|
2013-12-03 01:29:09 +00:00
|
|
|
CXX11="clang++ -std=c++11 -stdlib=libc++ -miphoneos-version-min=5.0"
|
2013-11-29 15:17:33 +00:00
|
|
|
IOS=1
|
2013-03-26 14:35:45 +00:00
|
|
|
|
2014-04-14 17:26:32 +00:00
|
|
|
IOSSDKLOC="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/"
|
2014-04-14 03:53:23 +00:00
|
|
|
|
2014-04-14 17:26:32 +00:00
|
|
|
if [ -d "${IOSSDKLOC}iPhoneOS6.0.sdk" ]; then
|
|
|
|
echo "iOS 6.0 SDK detected"
|
|
|
|
IOSVER=60
|
|
|
|
IOSSDKLOC="${IOSSDKLOC}iPhoneOS6.0.sdk"
|
|
|
|
fi
|
|
|
|
if [ -d "${IOSSDKLOC}iPhoneOS7.0.sdk" ]; then
|
|
|
|
echo "iOS 7.0 SDK detected"
|
|
|
|
IOSVER=70
|
|
|
|
IOSSDKLOC="${IOSSDKLOC}iPhoneOS7.0.sdk"
|
|
|
|
fi
|
|
|
|
if [ -d "${IOSSDKLOC}iPhoneOS7.1.sdk" ]; then
|
|
|
|
echo "iOS 7.1 SDK detected"
|
|
|
|
IOSVER=71
|
|
|
|
IOSSDKLOC="${IOSSDKLOC}iPhoneOS7.1.sdk"
|
|
|
|
fi
|
2013-03-26 13:18:20 +00:00
|
|
|
|
2013-05-18 22:17:06 +00:00
|
|
|
. ./libretro-build-common.sh
|
2013-03-26 13:18:20 +00:00
|
|
|
|
2013-05-03 15:22:09 +00:00
|
|
|
if [ $1 ]; then
|
|
|
|
$1
|
|
|
|
else
|
2013-12-15 19:48:54 +00:00
|
|
|
build_libretro_bsnes_cplusplus98
|
2013-11-26 11:45:30 +00:00
|
|
|
build_libretro_bsnes
|
2013-05-03 15:22:09 +00:00
|
|
|
build_libretro_mednafen
|
|
|
|
build_libretro_mednafen_gba
|
2013-12-16 01:15:02 +00:00
|
|
|
#build_libretro_mednafen_snes
|
2013-11-30 01:26:51 +00:00
|
|
|
build_libretro_mednafen_psx
|
2013-05-18 19:37:43 +00:00
|
|
|
build_libretro_s9x
|
2013-05-03 15:22:09 +00:00
|
|
|
build_libretro_s9x_next
|
|
|
|
build_libretro_genplus
|
|
|
|
build_libretro_fba_full
|
2013-10-31 16:54:26 +00:00
|
|
|
build_libretro_vbam
|
2013-08-15 12:50:25 +00:00
|
|
|
build_libretro_vba_next
|
2014-04-14 03:53:23 +00:00
|
|
|
build_libretro_fceumm
|
2013-05-03 15:22:09 +00:00
|
|
|
build_libretro_gambatte
|
2013-12-16 01:15:02 +00:00
|
|
|
#build_libretro_meteor
|
2013-05-03 15:22:09 +00:00
|
|
|
build_libretro_nx
|
|
|
|
build_libretro_prboom
|
|
|
|
build_libretro_stella
|
2013-07-05 19:48:55 +00:00
|
|
|
build_libretro_quicknes
|
2013-05-03 15:22:09 +00:00
|
|
|
build_libretro_nestopia
|
|
|
|
build_libretro_tyrquake
|
2013-06-14 03:11:29 +00:00
|
|
|
build_libretro_mame078
|
2013-12-16 01:15:02 +00:00
|
|
|
#build_libretro_mame
|
|
|
|
#build_libretro_dosbox
|
2013-12-15 20:02:19 +00:00
|
|
|
build_libretro_scummvm
|
2013-11-30 01:26:51 +00:00
|
|
|
build_libretro_picodrive
|
|
|
|
build_libretro_handy
|
|
|
|
build_libretro_desmume
|
|
|
|
build_libretro_pcsx_rearmed
|
2013-12-19 23:31:05 +00:00
|
|
|
build_libretro_pcsx_rearmed_interpreter
|
2013-05-18 00:53:55 +00:00
|
|
|
build_libretro_modelviewer
|
|
|
|
build_libretro_scenewalker
|
2013-07-28 23:13:17 +00:00
|
|
|
build_libretro_instancingviewer
|
2013-11-25 02:54:24 +00:00
|
|
|
build_libretro_instancingviewer_camera
|
2013-11-29 22:48:52 +00:00
|
|
|
build_libretro_mupen64
|
2013-12-16 01:15:02 +00:00
|
|
|
#build_libretro_ffmpeg
|
2013-09-23 17:59:32 +00:00
|
|
|
build_libretro_dinothawr
|
2014-03-09 20:11:47 +00:00
|
|
|
build_libretro_3dengine
|
2013-05-03 15:22:09 +00:00
|
|
|
fi
|