RetroArch/dist-scripts/xdk1-cores.sh

23 lines
703 B
Bash
Raw Normal View History

2013-02-17 04:35:48 +00:00
#!/bin/sh
2015-09-01 14:46:28 +00:00
PLATFORM=xdk
2013-02-17 04:35:48 +00:00
2015-09-01 14:46:28 +00:00
ip='192.168.1.10'
2013-02-17 04:35:48 +00:00
mkdir -p ../msvc/RetroArch-Xbox1/Debug
mkdir -p ../msvc/RetroArch-Xbox1/Release
mkdir -p ../msvc/RetroArch-Xbox1/Release_LTCG
2015-09-01 14:46:28 +00:00
for f in *_${PLATFORM}.lib ; do
name=`echo "$f" | sed "s/\(_libretro_${PLATFORM}\|\).lib$//"`
2013-02-17 04:35:48 +00:00
echo $name
if [ $name = "tyrquake" ] || [ $name = "genesis_plus_gx" ] ; then
echo "Applying whole archive linking for this core..."
2015-09-01 14:46:28 +00:00
cp -f "$f" ../msvc/RetroArch-Xbox1/Release_LTCG_BigStack/libretro_${PLATFORM}.lib
cmd.exe /k xdk1_env_bigstack.bat ${name}_libretro_xdk1
else
2015-09-01 14:46:28 +00:00
cp -f "$f" ../msvc/RetroArch-Xbox1/Release_LTCG/libretro_${PLATFORM}.lib
cmd.exe /k xdk1_env.bat ${name}_libretro_xdk1
fi
2013-02-17 04:35:48 +00:00
done