mirror of
https://github.com/libretro/libretro-super
synced 2025-01-14 03:38:21 +00:00
Add bsnes hd rule
This commit is contained in:
parent
4bfae7f0d4
commit
413e9d5c3e
@ -17,6 +17,7 @@ include_core_snes9x2002
|
||||
include_core_snes9x2005
|
||||
include_core_snes9x2010
|
||||
include_core_snes9x
|
||||
include_core_bsnes_hd
|
||||
include_core_bsnes_accuracy
|
||||
include_core_bsnes_balanced
|
||||
include_core_bsnes_performance
|
||||
|
@ -25,6 +25,7 @@ if [ "$HOST_CC" ]; then
|
||||
CC="${HOST_CC}-gcc"
|
||||
CXX="${HOST_CC}-g++"
|
||||
CXX11="${HOST_CC}-g++"
|
||||
CXX17="${HOST_CC}-g++"
|
||||
STRIP="${HOST_CC}-strip"
|
||||
fi
|
||||
|
||||
@ -56,18 +57,22 @@ if [ -z "$CXX" ]; then
|
||||
if [ $FORMAT_COMPILER_TARGET = "osx" ]; then
|
||||
CXX=c++
|
||||
CXX11="clang++ -std=c++11 -stdlib=libc++"
|
||||
CXX17="clang++ -std=c++17 -stdlib=libc++"
|
||||
# FIXME: Do this right later.
|
||||
if [ "$ARCH" = "i386" ]; then
|
||||
CC="cc -arch i386"
|
||||
CXX="c++ -arch i386"
|
||||
CXX11="clang++ -arch i386 -std=c++11 -stdlib=libc++"
|
||||
CXX17="clang++ -arch i386 -std=c++17 -stdlib=libc++"
|
||||
fi
|
||||
elif uname -s | grep -i MINGW32 > /dev/null 2>&1; then
|
||||
CXX=mingw32-g++
|
||||
CXX11=mingw32-g++
|
||||
CXX17=mingw32-g++
|
||||
else
|
||||
CXX=g++
|
||||
CXX11=g++
|
||||
CXX17=g++
|
||||
fi
|
||||
fi
|
||||
|
||||
@ -76,6 +81,7 @@ FORMAT_COMPILER_TARGET_ALT=$FORMAT_COMPILER_TARGET
|
||||
echo "CC = $CC"
|
||||
echo "CXX = $CXX"
|
||||
echo "CXX11 = $CXX11"
|
||||
echo "CXX17 = $CXX17"
|
||||
echo "STRIP = $STRIP"
|
||||
|
||||
. "$BASE_DIR/libretro-build-common.sh"
|
||||
|
@ -1,5 +1,16 @@
|
||||
# vim: set ts=3 sw=3 noet ft=sh : bash
|
||||
|
||||
include_core_bsnes_hd() {
|
||||
register_module core "bsnes_hd" -theos_ios -ngc -sncps3 -ps3 -psp1 -qnx -wii
|
||||
}
|
||||
|
||||
libretro_bsnes_hd_name="bsnes HD"
|
||||
libretro_bsnes_hd_git_url="https://github.com/libretro/bsnes.git"
|
||||
libretro_bsnes_hd_build_args="compiler=\"${CXX17}\" target=\"libretro\""
|
||||
libretro_bsnes_hd_build_subdir="bsnes"
|
||||
libretro_bsnes_hd_build_makefile="GNUmakefile"
|
||||
libretro_bsnes_hd_build_products="out"
|
||||
|
||||
include_core_bsnes_accuracy() {
|
||||
register_module core "bsnes_accuracy" -theos_ios -ngc -sncps3 -ps3 -psp1 -qnx -wii
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user