Merge pull request #36 from yoshisuga/tvos_support

(tvOS) support building using tvOS SDK
This commit is contained in:
Twinaphex 2019-09-14 08:05:29 +02:00 committed by GitHub
commit 354bcb5ace
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,6 +60,16 @@ else ifneq (,$(findstring ios,$(platform)))
CXX += -miphoneos-version-min=5.0 CXX += -miphoneos-version-min=5.0
PLATFORM_DEFINES := -miphoneos-version-min=5.0 PLATFORM_DEFINES := -miphoneos-version-min=5.0
endif endif
else ifeq ($(platform), tvos-arm64)
TARGET := $(TARGET_NAME)_libretro_tvos.dylib
fpic := -fPIC
SHARED := -dynamiclib
ifeq ($(IOSSDK),)
IOSSDK := $(shell xcodebuild -version -sdk appletvos Path)
endif
ARM_ASM = 0
ASM_CPU = 0
ASM_SPC700 = 0
else ifeq ($(platform), theos_ios) else ifeq ($(platform), theos_ios)
DEPLOYMENT_IOSVERSION = 5.0 DEPLOYMENT_IOSVERSION = 5.0
TARGET = iphone:latest:$(DEPLOYMENT_IOSVERSION) TARGET = iphone:latest:$(DEPLOYMENT_IOSVERSION)