mirror of
https://github.com/libretro/libretro-super
synced 2025-01-01 00:20:42 +00:00
Make 360 build script more modular
This commit is contained in:
parent
d9dc943499
commit
545855a160
@ -6,6 +6,7 @@ RARCH_DIR=$CORES_DIR/RetroArch
|
|||||||
RARCH_DIST_DIR=$RARCH_DIR/dist-scripts
|
RARCH_DIST_DIR=$RARCH_DIR/dist-scripts
|
||||||
FORMAT=_xdk360
|
FORMAT=_xdk360
|
||||||
LIB_EXT=lib
|
LIB_EXT=lib
|
||||||
|
MSVC_NAME=msvc-2010-360
|
||||||
|
|
||||||
die()
|
die()
|
||||||
{
|
{
|
||||||
@ -22,21 +23,21 @@ build_libretro_mednafen()
|
|||||||
echo "=== Building Mednafen ==="
|
echo "=== Building Mednafen ==="
|
||||||
cd $MEDNAFEN_DIR_NAME/msvc/pce-fast
|
cd $MEDNAFEN_DIR_NAME/msvc/pce-fast
|
||||||
|
|
||||||
cmd.exe /k msvc-2010-360.bat
|
cmd.exe /k $MSVC_NAME.bat
|
||||||
cp msvc-2010-360/Release_LTCG/mednafen_pce_fast_libretro$FORMAT.lib $RARCH_DIST_DIR
|
cp $MSVC_NAME/Release_LTCG/mednafen_pce_fast_libretro$FORMAT.lib $RARCH_DIST_DIR
|
||||||
|
|
||||||
cd ../
|
cd ../
|
||||||
cd wswan
|
cd wswan
|
||||||
cmd.exe /k msvc-2010-360.bat
|
cmd.exe /k $MSVC_NAME.bat
|
||||||
cp msvc-2010-360/Release_LTCG/mednafen_wswan_libretro$FORMAT.lib $RARCH_DIST_DIR
|
cp $MSVC_NAME/Release_LTCG/mednafen_wswan_libretro$FORMAT.lib $RARCH_DIST_DIR
|
||||||
|
|
||||||
cd ../
|
cd ../
|
||||||
cd ngp
|
cd ngp
|
||||||
cmd.exe /k msvc-2010-360.bat
|
cmd.exe /k $MSVC_NAME.bat
|
||||||
cp msvc-2010-360/Release_LTCG/mednafen_ngp_libretro$FORMAT.lib $RARCH_DIST_DIR
|
cp $MSVC_NAME/Release_LTCG/mednafen_ngp_libretro$FORMAT.lib $RARCH_DIST_DIR
|
||||||
|
|
||||||
#msvc/vb/msvc-2010-360.bat
|
#msvc/vb/$MSVC_NAME.bat
|
||||||
#cp msvc/vb/msvc-2010-360/mednafen_vb_libretro$FORMAT.lib $RARCH_DIST_DIR
|
#cp msvc/vb/$MSVC_NAME/mednafen_vb_libretro$FORMAT.lib $RARCH_DIST_DIR
|
||||||
else
|
else
|
||||||
echo "Mednafen not fetched, skipping ..."
|
echo "Mednafen not fetched, skipping ..."
|
||||||
fi
|
fi
|
||||||
@ -64,8 +65,8 @@ build_libretro_s9x_next()
|
|||||||
echo "=== Building SNES9x-Next ==="
|
echo "=== Building SNES9x-Next ==="
|
||||||
cd $S9X_NEXT_DIR_NAME
|
cd $S9X_NEXT_DIR_NAME
|
||||||
cd libretro/msvc
|
cd libretro/msvc
|
||||||
cmd.exe /k msvc-2010-360.bat
|
cmd.exe /k $MSVC_NAME.bat
|
||||||
cp msvc-2010-360/Release_LTCG/snes9x_next_libretro$FORMAT.$LIB_EXT $RARCH_DIST_DIR
|
cp $MSVC_NAME/Release_LTCG/snes9x_next_libretro$FORMAT.$LIB_EXT $RARCH_DIST_DIR
|
||||||
else
|
else
|
||||||
echo "SNES9x-Next not fetched, skipping ..."
|
echo "SNES9x-Next not fetched, skipping ..."
|
||||||
fi
|
fi
|
||||||
@ -80,8 +81,8 @@ build_libretro_genplus()
|
|||||||
echo "=== Building Genplus GX ==="
|
echo "=== Building Genplus GX ==="
|
||||||
cd $GENPLUS_DIR_NAME
|
cd $GENPLUS_DIR_NAME
|
||||||
cd libretro/msvc
|
cd libretro/msvc
|
||||||
cmd.exe /k msvc-2010-360.bat
|
cmd.exe /k $MSVC_NAME.bat
|
||||||
cp msvc-2010-360/Release_LTCG/genesis_plus_gx_libretro$FORMAT.$LIB_EXT $RARCH_DIST_DIR
|
cp $MSVC_NAME/Release_LTCG/genesis_plus_gx_libretro$FORMAT.$LIB_EXT $RARCH_DIST_DIR
|
||||||
else
|
else
|
||||||
echo "Genplus GX not fetched, skipping ..."
|
echo "Genplus GX not fetched, skipping ..."
|
||||||
fi
|
fi
|
||||||
@ -96,7 +97,7 @@ build_libretro_fba()
|
|||||||
echo "=== Building Final Burn Alpha ==="
|
echo "=== Building Final Burn Alpha ==="
|
||||||
cd $FBA_DIR_NAME/svn-current/trunk
|
cd $FBA_DIR_NAME/svn-current/trunk
|
||||||
cd projectfiles/visualstudio-2010-libretro-360
|
cd projectfiles/visualstudio-2010-libretro-360
|
||||||
cmd.exe /k msvc-2010-360.bat
|
cmd.exe /k $MSVC_NAME.bat
|
||||||
cp Release_LTCG/fb_alpha_libretro$FORMAT.$LIB_EXT $RARCH_DIST_DIR
|
cp Release_LTCG/fb_alpha_libretro$FORMAT.$LIB_EXT $RARCH_DIST_DIR
|
||||||
else
|
else
|
||||||
echo "Final Burn Alpha not fetched, skipping ..."
|
echo "Final Burn Alpha not fetched, skipping ..."
|
||||||
@ -112,8 +113,8 @@ build_libretro_vba()
|
|||||||
echo "=== Building VBA-Next ==="
|
echo "=== Building VBA-Next ==="
|
||||||
cd $VBA_NEXT_DIR_NAME
|
cd $VBA_NEXT_DIR_NAME
|
||||||
cd libretro/msvc
|
cd libretro/msvc
|
||||||
cmd.exe /k msvc-2010-360.bat
|
cmd.exe /k $MSVC_NAME.bat
|
||||||
cp msvc-2010-360/Release/vba_next_libretro$FORMAT.$LIB_EXT $RARCH_DIST_DIR
|
cp $MSVC_NAME/Release/vba_next_libretro$FORMAT.$LIB_EXT $RARCH_DIST_DIR
|
||||||
else
|
else
|
||||||
echo "VBA-Next not fetched, skipping ..."
|
echo "VBA-Next not fetched, skipping ..."
|
||||||
fi
|
fi
|
||||||
@ -128,8 +129,8 @@ build_libretro_fceu()
|
|||||||
echo "=== Building FCEU ==="
|
echo "=== Building FCEU ==="
|
||||||
cd $FCEUMM_DIR_NAME
|
cd $FCEUMM_DIR_NAME
|
||||||
cd fceumm-code/src/drivers/libretro/msvc
|
cd fceumm-code/src/drivers/libretro/msvc
|
||||||
cmd.exe /k msvc-2010-360.bat
|
cmd.exe /k $MSVC_NAME.bat
|
||||||
cp msvc-2010-360/Release_LTCG/fceumm_libretro$FORMAT.$LIB_EXT $RARCH_DIST_DIR
|
cp $MSVC_NAME/Release_LTCG/fceumm_libretro$FORMAT.$LIB_EXT $RARCH_DIST_DIR
|
||||||
else
|
else
|
||||||
echo "FCEU not fetched, skipping ..."
|
echo "FCEU not fetched, skipping ..."
|
||||||
fi
|
fi
|
||||||
@ -144,8 +145,8 @@ build_libretro_gambatte()
|
|||||||
echo "=== Building Gambatte ==="
|
echo "=== Building Gambatte ==="
|
||||||
cd $GAMBATTE_DIR_NAME/libgambatte
|
cd $GAMBATTE_DIR_NAME/libgambatte
|
||||||
cd libretro/msvc
|
cd libretro/msvc
|
||||||
cmd.exe /k msvc-2010-360.bat
|
cmd.exe /k $MSVC_NAME.bat
|
||||||
cp msvc-2010-360/Release_LTCG/gambatte_libretro$FORMAT.$LIB_EXT $RARCH_DIST_DIR
|
cp $MSVC_NAME/Release_LTCG/gambatte_libretro$FORMAT.$LIB_EXT $RARCH_DIST_DIR
|
||||||
else
|
else
|
||||||
echo "Gambatte not fetched, skipping ..."
|
echo "Gambatte not fetched, skipping ..."
|
||||||
fi
|
fi
|
||||||
@ -176,8 +177,8 @@ build_libretro_prboom()
|
|||||||
echo "=== Building PRBoom ==="
|
echo "=== Building PRBoom ==="
|
||||||
cd $PRBOOM_DIR_NAME
|
cd $PRBOOM_DIR_NAME
|
||||||
cd libretro/msvc
|
cd libretro/msvc
|
||||||
cmd.exe /k msvc-2010-360.bat
|
cmd.exe /k $MSVC_NAME.bat
|
||||||
cp msvc-2010-360/Release_LTCG/prboom_libretro$FORMAT.$LIB_EXT $RARCH_DIST_DIR
|
cp $MSVC_NAME/Release_LTCG/prboom_libretro$FORMAT.$LIB_EXT $RARCH_DIST_DIR
|
||||||
else
|
else
|
||||||
echo "PRBoom not fetched, skipping ..."
|
echo "PRBoom not fetched, skipping ..."
|
||||||
fi
|
fi
|
||||||
@ -232,8 +233,8 @@ build_libretro_nestopia()
|
|||||||
echo "=== Building Nestopia ==="
|
echo "=== Building Nestopia ==="
|
||||||
cd $NESTOPIA_DIR_NAME/libretro
|
cd $NESTOPIA_DIR_NAME/libretro
|
||||||
cd msvc
|
cd msvc
|
||||||
cmd.exe /k msvc-2010-360.bat
|
cmd.exe /k $MSVC_NAME.bat
|
||||||
cp msvc-2010-360/Release_LTCG/nestopia_libretro$FORMAT.$LIB_EXT $RARCH_DIST_DIR
|
cp $MSVC_NAME/Release_LTCG/nestopia_libretro$FORMAT.$LIB_EXT $RARCH_DIST_DIR
|
||||||
else
|
else
|
||||||
echo "Nestopia not fetched, skipping ..."
|
echo "Nestopia not fetched, skipping ..."
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user