Simplified the Xcode project to a single Framework target

Static and shared libraries can be built using CMake support in SDL 3.0

Built tests for macOS, iOS, and tvOS
This commit is contained in:
Sam Lantinga
2023-07-31 18:37:14 -07:00
parent ea60474c65
commit c94cb3a5d8
6 changed files with 1356 additions and 7241 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -7,8 +7,8 @@
// https://help.apple.com/xcode/#/dev745c5c974
// Include any optional config for this build
// This allows you to set DEVELOPMENT_TEAM for all targets, for example.
#include? "build.xcconfig"
CONFIG_FRAMEWORK_LDFLAGS[sdk=macos*] = $(inherited) -framework SDL3 -framework AudioToolbox -framework Carbon -framework Cocoa -framework CoreAudio -framework CoreHaptics -framework CoreVideo -framework ForceFeedback -framework GameController -framework IOKit -framework Metal
CONFIG_FRAMEWORK_LDFLAGS[sdk=iphone*] = $(inherited) -framework SDL3 -framework AVFoundation -framework AudioToolbox -framework CoreGraphics -framework CoreHaptics -framework CoreMotion -framework Foundation -framework GameController -framework Metal -framework OpenGLES -framework QuartzCore -framework UIKit
CONFIG_FRAMEWORK_LDFLAGS[sdk=appletv*] = $(inherited) -framework SDL3 -framework AVFoundation -framework AudioToolbox -framework CoreGraphics -framework CoreHaptics -framework Foundation -framework GameController -framework Metal -framework OpenGLES -framework QuartzCore -framework UIKit
CONFIG_FRAMEWORK_LDFLAGS = -lSDL3_test