libretro-super/libretro-build-ios.sh

72 lines
1.7 KiB
Bash
Raw Normal View History

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
FORMAT=_ios
FORMAT_COMPILER_TARGET=ios
FORMAT_COMPILER_TARGET_ALT=ios
FORMAT_EXT=dylib
JOBS=7
MAKE=make
CXX11="clang++ -std=c++11 -stdlib=libc++ -miphoneos-version-min=5.0"
2013-11-29 15:17:33 +00:00
IOS=1
IOSSDK=$(xcrun -sdk iphoneos -show-sdk-path)
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}"
echo "iOS version: ${IOSVER}"
export IOSSDK
2013-03-26 13:18:20 +00:00
. ./libretro-build-common.sh
2013-03-26 13:18:20 +00:00
if [ $1 ]; then
$1
else
build_libretro_bsnes_cplusplus98
2014-05-17 01:21:38 +00:00
build_libretro_bsnes
build_libretro_mednafen
build_libretro_beetle_ngp
build_libretro_beetle_pce_fast
build_libretro_beetle_vb
build_libretro_beetle_wswan
build_libretro_beetle_psx
#build_libretro_beetle_snes
2013-05-18 19:37:43 +00:00
build_libretro_s9x
build_libretro_s9x_next
build_libretro_genplus
build_libretro_fba_full
build_libretro_vbam
build_libretro_vba_next
build_libretro_fceumm
build_libretro_gambatte
#build_libretro_meteor
build_libretro_nx
build_libretro_prboom
build_libretro_stella
2013-07-05 19:48:55 +00:00
build_libretro_quicknes
build_libretro_nestopia
build_libretro_tyrquake
2013-06-14 03:11:29 +00:00
build_libretro_mame078
#build_libretro_mame
#build_libretro_dosbox
build_libretro_scummvm
build_libretro_picodrive
build_libretro_handy
build_libretro_desmume
build_libretro_pcsx_rearmed
build_libretro_pcsx_rearmed_interpreter
build_libretro_modelviewer
build_libretro_scenewalker
2013-07-28 23:13:17 +00:00
build_libretro_instancingviewer
build_libretro_instancingviewer_camera
2013-11-29 22:48:52 +00:00
build_libretro_mupen64
#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
fi