mirror of
https://github.com/libretro/libretro-super
synced 2024-12-27 21:24:43 +00:00
Add msvc2015
This commit is contained in:
parent
a1f0f10b9d
commit
ea5a66256a
17
libretro-build-msvc2015_x64.sh
Normal file
17
libretro-build-msvc2015_x64.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=msvc2015_x64 ${BASE_DIR}/libretro-build.sh $@
|
17
libretro-build-msvc2015_x86.sh
Normal file
17
libretro-build-msvc2015_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=msvc2010_x86 ${BASE_DIR}/libretro-build.sh $@
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user