mirror of
https://github.com/libretro/libretro-super
synced 2024-12-26 18:26:06 +00:00
Add MSVC2008
This commit is contained in:
parent
2cf546c718
commit
d4e6b3e513
17
libretro-build-msvc2008_x86.sh
Normal file
17
libretro-build-msvc2008_x86.sh
Normal 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 $@
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user