mirror of
https://github.com/libretro/libretro-super.git
synced 2024-11-23 15:59:57 +00:00
Add ModelViewer and SceneWalker build targets for iOS, QNX and
PC
This commit is contained in:
parent
17678babfc
commit
9724b24788
@ -254,6 +254,34 @@ build_libretro_tyrquake()
|
||||
fi
|
||||
}
|
||||
|
||||
build_libretro_modelviewer()
|
||||
{
|
||||
cd $BASE_DIR
|
||||
if [ -d "libretro-gl-modelviewer" ]; then
|
||||
echo "=== Building Modelviewer (GL) ==="
|
||||
cd libretro-gl-modelviewer
|
||||
make -f Makefile platform=${FORMAT_COMPILER_TARGET} -j$JOBS clean || die "Failed to clean Modelviewer"
|
||||
make -f Makefile platform=${FORMAT_COMPILER_TARGET} -j$JOBS || die "Failed to build Modelviewer"
|
||||
cp modelviewer_libretro.${FORMAT_EXT} "$RARCH_DIST_DIR"
|
||||
else
|
||||
echo "ModelViewer not fetched, skipping ..."
|
||||
fi
|
||||
}
|
||||
|
||||
build_libretro_scenewalker()
|
||||
{
|
||||
cd $BASE_DIR
|
||||
if [ -d "libretro-gl-scenewalker" ]; then
|
||||
echo "=== Building SceneWalker (GL) ==="
|
||||
cd libretro-gl-scenewalker
|
||||
make -f Makefile platform=${FORMAT_COMPILER_TARGET} -j$JOBS clean || die "Failed to clean SceneWalker"
|
||||
make -f Makefile platform=${FORMAT_COMPILER_TARGET} -j$JOBS || die "Failed to build SceneWalker"
|
||||
cp scenewalker_libretro.${FORMAT_EXT} "$RARCH_DIST_DIR"
|
||||
else
|
||||
echo "SceneWalker not fetched, skipping ..."
|
||||
fi
|
||||
}
|
||||
|
||||
create_dist_dir()
|
||||
{
|
||||
if [ -d $RARCH_DIR ]; then
|
||||
|
@ -34,4 +34,6 @@ else
|
||||
build_libretro_desmume
|
||||
build_libretro_nestopia
|
||||
build_libretro_tyrquake
|
||||
build_libretro_modelviewer
|
||||
build_libretro_scenewalker
|
||||
fi
|
||||
|
@ -31,4 +31,6 @@ else
|
||||
#build_libretro_desmume
|
||||
build_libretro_nestopia
|
||||
build_libretro_tyrquake
|
||||
build_libretro_modelviewer
|
||||
build_libretro_scenewalker
|
||||
fi
|
||||
|
@ -321,4 +321,6 @@ else
|
||||
build_libretro_desmume
|
||||
build_libretro_quicknes
|
||||
build_libretro_nestopia
|
||||
build_libretro_modelviewer
|
||||
build_libretro_scenewalker
|
||||
fi
|
||||
|
@ -1,5 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
. ./libretro-config.sh
|
||||
|
||||
UNAME=$(uname)
|
||||
if [ "`echo $UNAME | grep Linux`" ]; then
|
||||
FORMAT_EXT="so"
|
||||
@ -431,6 +433,34 @@ build_libretro_scummvm()
|
||||
fi
|
||||
}
|
||||
|
||||
build_libretro_modelviewer()
|
||||
{
|
||||
cd $BASE_DIR
|
||||
if [ -d "libretro-gl-modelviewer" ]; then
|
||||
echo "=== Building Modelviewer (GL) ==="
|
||||
cd libretro-gl-modelviewer
|
||||
make -f Makefile -j$JOBS clean || die "Failed to clean Modelviewer"
|
||||
make -f Makefile -j$JOBS || die "Failed to build Modelviewer"
|
||||
cp modelviewer_libretro.${FORMAT_EXT} "$RARCH_DIST_DIR"/libretro-gl-modelviewer.${FORMAT_EXT}
|
||||
else
|
||||
echo "ModelViewer not fetched, skipping ..."
|
||||
fi
|
||||
}
|
||||
|
||||
build_libretro_scenewalker()
|
||||
{
|
||||
cd $BASE_DIR
|
||||
if [ -d "libretro-gl-scenewalker" ]; then
|
||||
echo "=== Building SceneWalker (GL) ==="
|
||||
cd libretro-gl-scenewalker
|
||||
make -f Makefile -j$JOBS clean || die "Failed to clean SceneWalker"
|
||||
make -f Makefile -j$JOBS || die "Failed to build SceneWalker"
|
||||
cp scenewalker_libretro.${FORMAT_EXT} "$RARCH_DIST_DIR"/libretro-gl-scenewalker.${FORMAT_EXT}
|
||||
else
|
||||
echo "SceneWalker not fetched, skipping ..."
|
||||
fi
|
||||
}
|
||||
|
||||
mkdir -p "$RARCH_DIST_DIR"
|
||||
|
||||
if [ $1 ]; then
|
||||
@ -458,4 +488,8 @@ else
|
||||
build_libretro_mame078
|
||||
build_libretro_dosbox
|
||||
build_libretro_scummvm
|
||||
if [ -z $BUILD_LIBRETRO_GL ]; then
|
||||
build_libretro_modelviewer
|
||||
build_libretro_scenewalker
|
||||
fi
|
||||
fi
|
||||
|
@ -2,3 +2,6 @@
|
||||
|
||||
#if uncommented, will fetch repos with read+write access. Useful for committers
|
||||
#export WRITERIGHTS
|
||||
|
||||
#if uncommented, will build libretro GL cores as well. Doesn't need to be defined for mobile platforms
|
||||
#export BUILD_LIBRETRO_GL
|
||||
|
Loading…
Reference in New Issue
Block a user