fix for msvc/cmake builds. (#846)

This commit is contained in:
aliaspider 2018-07-21 04:21:26 +01:00 committed by bparker06
parent 5b1edfb047
commit fcadda9e8e

View File

@ -368,25 +368,25 @@ build_libretro_generic_makefile() {
-DANDROID_ABI=${ABI_OVERRIDE} \
-DCMAKE_TOOLCHAIN_FILE=${NDK_ROOT}/build/cmake/android.toolchain.cmake"
fi
if [ "${PLATFORM}" = "msvc2017_desktop_x86" ]; then
if [ "${platform}" = "msvc2017_desktop_x86" ]; then
EXTRAARGS="-G\"Visual Studio 15 2017\""
fi
if [ "${PLATFORM}" = "msvc2017_desktop_x64" ]; then
if [ "${platform}" = "msvc2017_desktop_x64" ]; then
EXTRAARGS="-G\"Visual Studio 15 2017 Win64\""
fi
if [ "${PLATFORM}" = "msvc2010_x86" ]; then
if [ "${platform}" = "msvc2010_x86" ]; then
EXTRAARGS="-G\"Visual Studio 10 2010\""
fi
if [ "${PLATFORM}" = "msvc2010_x64" ]; then
if [ "${platform}" = "msvc2010_x64" ]; then
EXTRAARGS="-G\"Visual Studio 10 2010 Win64\""
fi
if [ "${PLATFORM}" = "msvc2005_x86" ]; then
if [ "${platform}" = "msvc2005_x86" ]; then
EXTRAARGS="-G\"Visual Studio 8 2005\""
fi
if [ "${PLATFORM}" = "msvc2005_x64" ]; then
if [ "${platform}" = "msvc2005_x64" ]; then
EXTRAARGS="-G\"Visual Studio 8 2005 Win64\""
fi
if [ "${PLATFORM}" = "msvc2003_x86" ]; then
if [ "${platform}" = "msvc2003_x86" ]; then
EXTRAARGS="-G\"Visual Studio 7\""
fi