Add msvc2015

This commit is contained in:
twinaphex 2020-01-07 13:58:08 +01:00
parent a1f0f10b9d
commit ea5a66256a
3 changed files with 54 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=msvc2015_x64 ${BASE_DIR}/libretro-build.sh $@

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=msvc2010_x86 ${BASE_DIR}/libretro-build.sh $@

View File

@ -781,6 +781,26 @@ case "$platform" in
CXX="cl.exe"
CXX11="cl.exe"
;;
msvc2015_x86)
platform=windows_msvc2015_x86
FORMAT_EXT="dll"
BINARY_EXT=".exe"
FORMAT_COMPILER_TARGET="windows_msvc2015_x86"
DIST_DIR="msvc2015_x86"
CC="cl.exe"
CXX="cl.exe"
CXX11="cl.exe"
;;
msvc2015_x64)
platform=windows_msvc2015_x64
FORMAT_EXT="dll"
BINARY_EXT=".exe"
FORMAT_COMPILER_TARGET="windows_msvc2015_x64"
DIST_DIR="msvc2015_x64"
CC="cl.exe"
CXX="cl.exe"
CXX11="cl.exe"
;;
msvc2017_desktop_x86)
platform=windows_msvc2017_desktop_x86
FORMAT_EXT="dll"