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-05-20 18:39:09 +00:00
|
|
|
IOSSDK=$(xcrun -sdk iphoneos -show-sdk-path)
|
2014-05-16 22:20:09 +00:00
|
|
|
IOSVER_MAJOR=$(xcrun -sdk iphoneos -show-sdk-platform-version | cut -c '1')
|
|
|
|
IOSVER_MINOR=$(xcrun -sdk iphoneos -show-sdk-platform-version | cut -c '3')
|
|
|
|
IOSVER=${IOSVER_MAJOR}${IOSVER_MINOR}
|
2014-05-20 20:10:44 +00:00
|
|
|
echo "iOS path: ${IOSSDK}"
|
2014-05-16 22:20:09 +00:00
|
|
|
echo "iOS version: ${IOSVER}"
|
2014-05-20 18:39:09 +00:00
|
|
|
export IOSSDK
|
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
|
2014-07-29 15:07:15 +00:00
|
|
|
build_libretro_2048
|
2014-07-07 22:08:55 +00:00
|
|
|
build_libretro_bluemsx
|
|
|
|
build_libretro_fmsx
|
2013-12-15 19:48:54 +00:00
|
|
|
build_libretro_bsnes_cplusplus98
|
2014-05-17 01:21:38 +00:00
|
|
|
build_libretro_bsnes
|
2014-06-22 22:41:47 +00:00
|
|
|
build_libretro_beetle_lynx
|
2014-06-22 21:34:25 +00:00
|
|
|
build_libretro_beetle_gba
|
2014-06-22 00:12:59 +00:00
|
|
|
build_libretro_beetle_ngp
|
|
|
|
build_libretro_beetle_pce_fast
|
2014-06-22 03:13:43 +00:00
|
|
|
build_libretro_beetle_supergrafx
|
2014-06-22 01:14:12 +00:00
|
|
|
build_libretro_beetle_pcfx
|
2014-06-22 00:12:59 +00:00
|
|
|
build_libretro_beetle_vb
|
|
|
|
build_libretro_beetle_wswan
|
|
|
|
build_libretro_beetle_psx
|
2014-07-10 21:14:44 +00:00
|
|
|
#build_libretro_beetle_bsnes
|
2014-10-31 18:59:18 +00:00
|
|
|
build_libretro_catsfc
|
2014-08-22 10:17:52 +00:00
|
|
|
build_libretro_snes9x
|
|
|
|
build_libretro_snes9x_next
|
2014-08-22 10:28:27 +00:00
|
|
|
build_libretro_genesis_plus_gx
|
2014-08-22 13:39:20 +00:00
|
|
|
build_libretro_fb_alpha
|
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
|
2014-11-02 19:53:27 +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
|
2014-07-13 23:55:29 +00:00
|
|
|
build_libretro_mame
|
2013-12-16 01:15:02 +00:00
|
|
|
#build_libretro_dosbox
|
2014-07-13 16:00:18 +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-11-29 22:48:52 +00:00
|
|
|
build_libretro_mupen64
|
2014-07-12 22:43:23 +00:00
|
|
|
build_libretro_yabause
|
2013-12-16 01:15:02 +00:00
|
|
|
#build_libretro_ffmpeg
|
2014-03-09 20:11:47 +00:00
|
|
|
build_libretro_3dengine
|
2014-07-31 04:34:25 +00:00
|
|
|
build_libretro_vecx
|
2014-08-07 23:42:50 +00:00
|
|
|
build_libretro_tgbdual
|
2014-08-08 17:37:28 +00:00
|
|
|
build_libretro_prosystem
|
2014-08-09 20:28:37 +00:00
|
|
|
build_libretro_dinothawr
|
2014-08-09 20:33:21 +00:00
|
|
|
build_libretro_virtualjaguar
|
2014-08-14 19:54:43 +00:00
|
|
|
build_libretro_o2em
|
2014-08-23 23:10:04 +00:00
|
|
|
build_libretro_4do
|
2014-12-12 22:40:31 +00:00
|
|
|
build_libretro_gpsp
|
2013-05-03 15:22:09 +00:00
|
|
|
fi
|