RetroArch/dist-scripts/xdk1-cores.sh

23 lines
755 B
Bash
Raw Normal View History

2013-02-17 04:35:48 +00:00
#!/bin/sh
2018-02-18 01:00:39 +00:00
platform=xdk1
2013-02-17 04:35:48 +00:00
2018-02-18 01:04:22 +00:00
ip='192.168.178.227'
2013-02-17 04:35:48 +00:00
2018-02-18 00:58:34 +00:00
mkdir -p ../pkg/msvc/RetroArch-Xbox1/Debug
mkdir -p ../pkg/msvc/RetroArch-Xbox1/Release
mkdir -p ../pkg/msvc/RetroArch-Xbox1/Release_LTCG
2013-02-17 04:35:48 +00:00
2015-09-01 14:51:17 +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..."
2018-02-18 00:58:34 +00:00
cp -f "$f" ../pkg/msvc/RetroArch-Xbox1/Release_LTCG_BigStack/libretro_${platform}.lib
2018-02-18 01:08:18 +00:00
cmd.exe /k ${platform}_env_bigstack.bat ${name}_libretro_${platform}
else
2018-02-18 00:58:34 +00:00
cp -f "$f" ../pkg/msvc/RetroArch-Xbox1/Release_LTCG/libretro_${platform}.lib
2018-02-18 01:08:18 +00:00
cmd.exe /k ${platform}_env.bat ${name}_libretro_${platform}
fi
2013-02-17 04:35:48 +00:00
done