libretro-super/libretro-build-xdk360.sh

62 lines
1.3 KiB
Bash
Raw Normal View History

2013-12-09 01:10:42 +00:00
#!/bin/bash
2013-02-10 13:59:37 +00:00
2013-05-01 02:19:07 +00:00
BASE_DIR=$(pwd)
RARCH_DIR=$BASE_DIR/dist
RARCH_DIST_DIR=$RARCH_DIR/xdk360
2013-02-10 13:59:37 +00:00
FORMAT=_xdk360
2013-05-18 00:11:06 +00:00
FORMAT_EXT=lib
2013-02-10 14:10:48 +00:00
MSVC_NAME=msvc-2010-360
2014-03-15 15:05:24 +00:00
RELEASE_LTCG=Release_LTCG
2014-03-15 16:57:35 +00:00
RELEASE=Release
2013-02-10 13:59:37 +00:00
die()
{
echo $1
#exit 1
}
build_libretro_fba()
{
cd $BASE_DIR
if [ -d "libretro-fba" ]; then
2013-02-10 13:59:37 +00:00
echo "=== Building Final Burn Alpha ==="
cd libretro-fba/
cd svn-current/trunk
2013-02-10 13:59:37 +00:00
cd projectfiles/visualstudio-2010-libretro-360
2013-02-10 14:10:48 +00:00
cmd.exe /k $MSVC_NAME.bat
2014-03-15 15:08:16 +00:00
cp $RELEASE_LTCG/fb_alpha_libretro$FORMAT.${FORMAT_EXT} $RARCH_DIST_DIR
2013-02-10 13:59:37 +00:00
else
echo "Final Burn Alpha not fetched, skipping ..."
fi
}
source $BASE_DIR/libretro-build-common-xdk.sh
2013-04-23 23:06:34 +00:00
if [ $1 ]; then
$1
else
2014-06-22 22:41:47 +00:00
#build_libretro_beetle_lynx
2014-06-22 21:34:25 +00:00
build_libretro_beetle_gba
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
build_libretro_mednafen_psx
build_libretro_beetle_vb
build_libretro_beetle_wswan
2014-06-22 23:50:36 +00:00
#build_libretro_beetle_bsnes
build_libretro_snes9x_next
build_libretro_genesis_plus_gx
2014-08-22 13:39:20 +00:00
build_libretro_fb_alpha
build_libretro_vba_next
build_libretro_fceumm
build_libretro_gambatte
2013-05-18 14:55:00 +00:00
build_libretro_nx
build_libretro_prboom
2014-03-09 17:40:05 +00:00
#build_libretro_stella
#build_libretro_quicknes
build_libretro_nestopia
build_libretro_tyrquake
2014-03-09 17:40:05 +00:00
build_libretro_mame078
fi