From d4e6b3e5137df8ca15ca74357353aa9387632ebd Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 27 Dec 2018 19:49:38 +0100 Subject: [PATCH] Add MSVC2008 --- libretro-build-msvc2008_x86.sh | 17 +++++++++++++++++ libretro-config.sh | 10 ++++++++++ 2 files changed, 27 insertions(+) create mode 100644 libretro-build-msvc2008_x86.sh diff --git a/libretro-build-msvc2008_x86.sh b/libretro-build-msvc2008_x86.sh new file mode 100644 index 00000000..4b1d3d64 --- /dev/null +++ b/libretro-build-msvc2008_x86.sh @@ -0,0 +1,17 @@ +#! /usr/bin/env bash +# vim: set ts=3 sw=3 noet ft=sh : bash + +SCRIPT="${0#./}" +BASE_DIR="${SCRIPT%/*}" +WORKDIR="$PWD" + +if [ "$BASE_DIR" = "$SCRIPT" ]; then + BASE_DIR="$WORKDIR" +else + if [[ "$0" != /* ]]; then + # Make the path absolute + BASE_DIR="$WORKDIR/$BASE_DIR" + fi +fi + +platform=msvc2008_x86 ${BASE_DIR}/libretro-build.sh $@ diff --git a/libretro-config.sh b/libretro-config.sh index 8152725f..588edcc0 100755 --- a/libretro-config.sh +++ b/libretro-config.sh @@ -703,6 +703,16 @@ case "$platform" in CXX="cl.exe" CXX11="cl.exe" ;; + msvc2008_x86) + platform=windows_msvc2008_x86 + FORMAT_EXT="dll" + BINARY_EXT=".exe" + FORMAT_COMPILER_TARGET="windows_msvc2008_x86" + DIST_DIR="msvc2008_x86" + CC="cl.exe" + CXX="cl.exe" + CXX11="cl.exe" + ;; msvc2010_x86) platform=windows_msvc2010_x86 FORMAT_EXT="dll"