RetroArch/dist-scripts/xdk1-cores.sh
2018-02-18 02:08:18 +01:00

23 lines
755 B
Bash

#!/bin/sh
platform=xdk1
ip='192.168.178.227'
mkdir -p ../pkg/msvc/RetroArch-Xbox1/Debug
mkdir -p ../pkg/msvc/RetroArch-Xbox1/Release
mkdir -p ../pkg/msvc/RetroArch-Xbox1/Release_LTCG
for f in *_${platform}.lib ; do
name=`echo "$f" | sed "s/\(_libretro_${platform}\|\).lib$//"`
echo $name
if [ $name = "tyrquake" ] || [ $name = "genesis_plus_gx" ] ; then
echo "Applying whole archive linking for this core..."
cp -f "$f" ../pkg/msvc/RetroArch-Xbox1/Release_LTCG_BigStack/libretro_${platform}.lib
cmd.exe /k ${platform}_env_bigstack.bat ${name}_libretro_${platform}
else
cp -f "$f" ../pkg/msvc/RetroArch-Xbox1/Release_LTCG/libretro_${platform}.lib
cmd.exe /k ${platform}_env.bat ${name}_libretro_${platform}
fi
done