Compiles instancingviewer-camera now on PC, iOS and Android

This commit is contained in:
twinaphex 2013-11-25 03:54:24 +01:00
parent ba61b28aa2
commit 1b602cd33e
4 changed files with 34 additions and 0 deletions

View File

@ -385,6 +385,23 @@ build_libretro_instancingviewer()
fi
}
build_libretro_instancingviewer_camera()
{
cd $BASE_DIR
if [ -d "libretro-gl-instancingviewer-camera" ]; then
echo "=== Building InstancingViewer Camera (GL) ==="
cd libretro-gl-instancingviewer-camera
cd jni
ndk-build clean APP_ABI="armeabi-v7a mips x86"
ndk-build -j$JOBS APP_ABI="armeabi-v7a mips x86"
cp ../libs/armeabi-v7a/libretro.${FORMAT_EXT} $RARCH_DIST_DIR/armeabi-v7a/instancingviewer_camera_libretro${FORMAT}.${FORMAT_EXT}
cp ../libs/mips/libretro.${FORMAT_EXT} $RARCH_DIST_DIR/mips/instancingviewer_camera_libretro${FORMAT}.${FORMAT_EXT}
cp ../libs/x86/libretro.${FORMAT_EXT} $RARCH_DIST_DIR/x86/instancingviewer_camera_libretro${FORMAT}.${FORMAT_EXT}
else
echo "InstancingViewer Camera not fetched, skipping ..."
fi
}
build_libretro_scenewalker()
{
cd $BASE_DIR
@ -541,6 +558,7 @@ else
build_libretro_tyrquake
build_libretro_modelviewer
build_libretro_instancingviewer
build_libretro_instancingviewer_camera
build_libretro_scenewalker
build_libretro_picodrive
build_libretro_bsnes_performance

View File

@ -460,6 +460,20 @@ build_libretro_instancingviewer() {
fi
}
build_libretro_instancingviewer_camera() {
cd "${BASE_DIR}"
if [ -d 'libretro-gl-instancingviewer-camera' ]; then
echo '=== Building Instancing Viewer Camera (GL) ==='
cd libretro-gl-instancingviewer-camera
"${MAKE}" -f Makefile platform="${FORMAT_COMPILER_TARGET}" ${COMPILER} "-j${JOBS}" clean || die 'Failed to clean InstancingViewer-Camera'
"${MAKE}" -f Makefile platform="${FORMAT_COMPILER_TARGET}" ${COMPILER} "-j${JOBS}" || die 'Failed to build InstancingViewer-Camera'
cp "instancingviewer_camera_libretro${FORMAT}.${FORMAT_EXT}" "${RARCH_DIST_DIR}"
else
echo 'InstancingViewer Camera not fetched, skipping ...'
fi
}
build_libretro_scummvm() {
cd "${BASE_DIR}"
if [ -d 'libretro-scummvm' ]; then

View File

@ -42,6 +42,7 @@ else
build_libretro_modelviewer
build_libretro_scenewalker
build_libretro_instancingviewer
build_libretro_instancingviewer_camera
build_libretro_picodrive
build_libretro_dinothawr
fi

View File

@ -120,6 +120,7 @@ fi
build_libretro_modelviewer
build_libretro_scenewalker
build_libretro_instancingviewer
build_libretro_instancingviewer_camera
build_libretro_mupen64
build_libretro_ffmpeg
build_libretro_dinothawr