2013-12-08 17:10:42 -08:00
|
|
|
#!/bin/bash
|
2013-03-26 09:18:20 -04:00
|
|
|
|
|
|
|
set -e
|
|
|
|
|
2013-04-30 00:57:14 +02:00
|
|
|
BASE_DIR="$PWD"
|
|
|
|
RARCH_DIR=$BASE_DIR/dist
|
|
|
|
RARCH_DIST_DIR=$RARCH_DIR/ios
|
2013-05-18 03:40:05 +02:00
|
|
|
FORMAT=_ios
|
2013-04-30 06:35:47 +02:00
|
|
|
FORMAT_COMPILER_TARGET=ios
|
|
|
|
FORMAT_COMPILER_TARGET_ALT=ios
|
|
|
|
FORMAT_EXT=dylib
|
|
|
|
JOBS=7
|
2013-05-19 01:39:21 +02:00
|
|
|
MAKE=make
|
2013-12-03 02:29:09 +01:00
|
|
|
CXX11="clang++ -std=c++11 -stdlib=libc++ -miphoneos-version-min=5.0"
|
2013-11-29 16:17:33 +01:00
|
|
|
IOS=1
|
2013-03-26 10:35:45 -04:00
|
|
|
|
2014-05-20 20:39:09 +02:00
|
|
|
IOSSDK=$(xcrun -sdk iphoneos -show-sdk-path)
|
2014-05-17 00:20:09 +02: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 22:10:44 +02:00
|
|
|
echo "iOS path: ${IOSSDK}"
|
2014-05-17 00:20:09 +02:00
|
|
|
echo "iOS version: ${IOSVER}"
|
2014-05-20 20:39:09 +02:00
|
|
|
export IOSSDK
|
2013-03-26 09:18:20 -04:00
|
|
|
|
2013-05-19 00:17:06 +02:00
|
|
|
. ./libretro-build-common.sh
|
2013-03-26 09:18:20 -04:00
|
|
|
|
2013-05-03 17:22:09 +02:00
|
|
|
if [ $1 ]; then
|
|
|
|
$1
|
|
|
|
else
|
2014-07-29 17:07:15 +02:00
|
|
|
build_libretro_2048
|
2014-07-08 00:08:55 +02:00
|
|
|
build_libretro_bluemsx
|
|
|
|
build_libretro_fmsx
|
2013-12-15 20:48:54 +01:00
|
|
|
build_libretro_bsnes_cplusplus98
|
2014-05-17 03:21:38 +02:00
|
|
|
build_libretro_bsnes
|
2014-06-23 00:41:47 +02:00
|
|
|
build_libretro_beetle_lynx
|
2014-06-22 23:34:25 +02:00
|
|
|
build_libretro_beetle_gba
|
2014-06-22 02:12:59 +02:00
|
|
|
build_libretro_beetle_ngp
|
|
|
|
build_libretro_beetle_pce_fast
|
2014-06-22 05:13:43 +02:00
|
|
|
build_libretro_beetle_supergrafx
|
2014-06-22 03:14:12 +02:00
|
|
|
build_libretro_beetle_pcfx
|
2014-06-22 02:12:59 +02:00
|
|
|
build_libretro_beetle_vb
|
|
|
|
build_libretro_beetle_wswan
|
|
|
|
build_libretro_beetle_psx
|
2014-07-10 23:14:44 +02:00
|
|
|
#build_libretro_beetle_bsnes
|
2013-05-18 21:37:43 +02:00
|
|
|
build_libretro_s9x
|
2013-05-03 17:22:09 +02:00
|
|
|
build_libretro_s9x_next
|
|
|
|
build_libretro_genplus
|
|
|
|
build_libretro_fba_full
|
2013-10-31 17:54:26 +01:00
|
|
|
build_libretro_vbam
|
2013-08-15 14:50:25 +02:00
|
|
|
build_libretro_vba_next
|
2014-04-14 05:53:23 +02:00
|
|
|
build_libretro_fceumm
|
2013-05-03 17:22:09 +02:00
|
|
|
build_libretro_gambatte
|
2013-12-16 02:15:02 +01:00
|
|
|
#build_libretro_meteor
|
2013-05-03 17:22:09 +02:00
|
|
|
build_libretro_nx
|
|
|
|
build_libretro_prboom
|
|
|
|
build_libretro_stella
|
2013-07-05 21:48:55 +02:00
|
|
|
build_libretro_quicknes
|
2013-05-03 17:22:09 +02:00
|
|
|
build_libretro_nestopia
|
|
|
|
build_libretro_tyrquake
|
2013-06-14 05:11:29 +02:00
|
|
|
build_libretro_mame078
|
2014-07-14 01:55:29 +02:00
|
|
|
build_libretro_mame
|
2013-12-16 02:15:02 +01:00
|
|
|
#build_libretro_dosbox
|
2014-07-13 18:00:18 +02:00
|
|
|
build_libretro_scummvm
|
2013-11-30 02:26:51 +01:00
|
|
|
build_libretro_picodrive
|
|
|
|
build_libretro_handy
|
|
|
|
build_libretro_desmume
|
|
|
|
build_libretro_pcsx_rearmed
|
2013-12-19 18:31:05 -05:00
|
|
|
build_libretro_pcsx_rearmed_interpreter
|
2013-05-18 02:53:55 +02:00
|
|
|
build_libretro_modelviewer
|
|
|
|
build_libretro_scenewalker
|
2013-07-29 01:13:17 +02:00
|
|
|
build_libretro_instancingviewer
|
2013-11-25 03:54:24 +01:00
|
|
|
build_libretro_instancingviewer_camera
|
2013-11-29 23:48:52 +01:00
|
|
|
build_libretro_mupen64
|
2014-07-13 00:43:23 +02:00
|
|
|
build_libretro_yabause
|
2013-12-16 02:15:02 +01:00
|
|
|
#build_libretro_ffmpeg
|
2013-09-23 19:59:32 +02:00
|
|
|
build_libretro_dinothawr
|
2014-03-09 21:11:47 +01:00
|
|
|
build_libretro_3dengine
|
2014-07-31 06:34:25 +02:00
|
|
|
build_libretro_vecx
|
2013-05-03 17:22:09 +02:00
|
|
|
fi
|