Add MSVC2008

This commit is contained in:
twinaphex 2018-12-27 19:49:38 +01:00
parent 2cf546c718
commit d4e6b3e513
2 changed files with 27 additions and 0 deletions

View File

@ -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 $@

View File

@ -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"