Sam Lantinga
0479df53ca
Updated copyright for 2023
2023-01-09 09:48:21 -08:00
Sam Lantinga
938b720a9e
Update SDL info and Xcode marketing version to 2.27.0
2022-11-22 09:19:21 -08:00
Sam Lantinga
ea8f8b6dc3
Updated to version 2.27.0 for development
2022-11-21 16:36:10 -08:00
Sam Lantinga
0bfeed061b
Updated to version 2.26.0 for release
2022-11-21 16:15:58 -08:00
Sam Lantinga
78ea6af2cd
Updated to version 2.25.1 for release candidate
2022-11-17 09:01:35 -08:00
Anonymous Maarten
e6c4db8160
The SDL2::SDL2 target in SDL2.framework needs to see the SDL2 include folder
...
SDL.h includes other files through SDL2/SDL_xxx.h
2022-11-15 19:22:47 +01:00
Sam Lantinga
0dfc829a6b
Added simple BLE Steam Controller support on all platforms
...
This is still disabled by default via the hint SDL_HINT_JOYSTICK_HIDAPI_STEAM
2022-11-10 19:17:04 -08:00
Anonymous Maarten
cbb1cf0c93
cmake+xcode: only create SDL2::SDL2main target when it does not exist again
2022-10-04 21:15:09 +02:00
Sam Lantinga
13c443f224
Removed obsolete search path setting
2022-09-28 01:10:10 -07:00
Sam Lantinga
26997bc153
Removed unused framework entries from the Xcode project
2022-09-28 00:52:39 -07:00
Sam Lantinga
229315b014
Updated SDL Xcode test project to build for iOS and tvOS
...
Tested with Xcode 14.0.1
2022-09-28 00:06:06 -07:00
Sam Lantinga
3a6b4835f8
Updated macOS Xcode test programs
2022-09-27 22:28:50 -07:00
Sam Lantinga
8fc133ac2c
Updated Xcode project with new offscreen video driver files
2022-09-16 08:18:42 -07:00
Ozkan Sezer
911524da45
fix DYLIB version inconsistencies and test failures after #6188 .
2022-09-06 03:15:02 +03:00
tjpadula
a0f143fc93
Add build target to Xcode project to create an xcframework for iOS ( #6188 )
2022-09-05 13:10:15 -07:00
Sam Lantinga
4e98ba612b
Set DYLIB_COMPATIBILITY_VERSION to DYLIB_CURRENT_VERSION to match autotools
...
Autotools sets both versions to the same value, so Xcode and CMake need to match for the libraries to be compatible between the different builds.
See these for details:
https://github.com/libsdl-org/sdl12-compat/pull/207
https://github.com/libsdl-org/SDL/issues/2934
https://stackoverflow.com/questions/67055770/usage-of-current-version-and-compatibility-version-on-macos
2022-09-05 08:28:06 -07:00
Sam Lantinga
397672edfe
Added SDL_hidapi_wii.c to the Xcode project
2022-09-01 15:31:03 -07:00
Anonymous Maarten
dc2ef31c29
cmake: create SDL2::SDL2main target in Apple framework official release
2022-08-24 06:20:28 -07:00
Sam Lantinga
6ac6accd33
Added SDL_hidapi_ps3.c to the Xcode project
2022-08-23 23:05:11 -07:00
Sam Lantinga
6e9c14e550
Updated to version 2.25.0 for development
2022-08-19 09:38:42 -07:00
Sam Lantinga
8c9beb0c87
Updated to version Updated to version 2.24.0 for release
2022-08-19 08:44:09 -07:00
Sam Lantinga
f1416ef2ba
Updated to version 2.23.2 for release candidate
2022-08-12 20:27:22 -07:00
Sam Lantinga
c2db429f93
Added SDL_crc16.c to the Xcode project
2022-08-11 13:20:17 -07:00
Sam Lantinga
2909f63743
Revert "Enable bitcode by default for iOS and tvOS builds"
...
This reverts commit 59963473ef
.
This fixes https://github.com/libsdl-org/SDL/issues/6015
Starting with Xcode 14, bitcode is no longer required for watchOS and tvOS applications, and the App Store no longer accepts bitcode submissions from Xcode 14.
Xcode no longer builds bitcode by default and generates a warning message if a project explicitly enables bitcode: “Building with bitcode is deprecated. Please update your project and/or target settings to disable bitcode.” The capability to build with bitcode will be removed in a future Xcode release. IPAs that contain bitcode will have the bitcode stripped before being submitted to the App Store. Debug symbols for past bitcode submissions remain available for download. (86118779)
2022-08-06 23:28:39 -07:00
Sam Lantinga
181877ebeb
Added SDL_hidapi_combined.c to the Xcode project
2022-07-28 21:54:34 -07:00
Anonymous Maarten
5da85376b9
stdlib: move all mslibc functions to SDL_mslibc.c
...
This allows disabling LTO on them by only specifying a single file.
2022-07-27 09:07:56 -07:00
Sam Lantinga
f789bc7d5f
Updated minimum OS targets on Apple platforms to match supported platforms using Xcode 13
2022-07-26 11:36:01 -07:00
Sam Lantinga
59963473ef
Enable bitcode by default for iOS and tvOS builds
2022-07-22 10:58:32 -07:00
Sam Lantinga
e3916993e2
Added SDL_utils.c to the Xcode project
2022-07-17 08:47:06 -07:00
Cameron Gutman
6e712d2440
joystick: Add HIDAPI driver for NVIDIA SHIELD 2017 controller
...
Basic input already works using the OS HID driver, but this enables
force feedback and battery state reporting.
2022-07-10 10:53:26 -07:00
Cameron Cawley
78089e6598
Remove unused internal header SDL_sysevents.h
2022-07-01 07:39:48 -07:00
Sam Lantinga
b004133f08
Updated to version 2.23.1 for pre-release checkpoint
2022-06-16 12:50:19 -07:00
Sam Lantinga
5b4f53bc0f
Added SDL_memset.c and SDL_memcpy.c to Xcode project
2022-06-15 14:26:47 -07:00
Pierre Wendling
1963cccce1
CMake: Fix XCode CMake config file. ( #5787 )
...
As mentionned in libsdl-org/SDL_net#48 and libsdl-org/SDL_ttf#213 :
- Options needs to use `SHELL:` to avoid aggressive option de-duplication
- Framework path needs to be quoted to support paths with spaces.
2022-06-12 15:48:57 +02:00
Ozkan Sezer
6bd49fc00c
revert mode changes from commit d58d637ac
2022-06-08 21:58:10 +03:00
Sam Lantinga
d58d637ac6
Added support for the Qanba Obsidian Arcade Joystick on Linux
2022-06-08 11:07:36 -07:00
Sam Lantinga
168b97ca32
Updated Xcode project with SDL_guid.c and controller_type.c
2022-06-07 00:33:59 -07:00
Anonymous Maarten
96e3733a18
cmake: make Xcode's sdl2-config.cmake compatible with the one from autotools
2022-06-03 12:41:36 -07:00
Anonymous Maarten
3c3c02518c
Add Compatible Interface Properties to VisualC and Xcode SDL2 config file
2022-05-31 00:10:55 +02:00
Anonymous Maarten
774c50174c
Add CMake section to the Xcode ReadMe.txt
2022-05-31 00:10:55 +02:00
Sam Lantinga
423c7ef856
Don't set SDL2_LIBRARY, we need the Framework configuration on Apple platforms
2022-05-31 00:10:55 +02:00
Sam Lantinga
37ef6a765d
Use a full path for the framework header include path
2022-05-31 00:10:55 +02:00
Anonymous Maarten
f73c25648f
cmake: attempt to use framework in Xcode's sdl2-config.cmake
2022-05-31 00:10:55 +02:00
Anonymous Maarten
4c3d1d32a5
Use INTERFACE_INCLUDE_DIRECTORIES in Xcode's sdl2-config.cmake
2022-05-31 00:10:55 +02:00
Sam Lantinga
7c2a6ea5f2
Removed 64-bit check for Apple
...
We build the SDL framework for macOS, iOS, and tvOS, including 32-bit and 64-bit architectures. Since this file will actually be included in the framework you're linking, it should be fine to use.
2022-05-31 00:10:55 +02:00
Sam Lantinga
e30b9993b9
Fixed warning about location of CMake support files
2022-05-31 00:10:55 +02:00
Sam Lantinga
01492a24f1
Added CMake package support files to the SDL framework
2022-05-31 00:10:55 +02:00
Anonymous Maarten
2c591e408e
Add CMake configuration files, meant for Macos framework
2022-05-31 00:10:55 +02:00
Alex Szpakowski
ec8fa57750
macOS: always use Objective-C ARC (automatic ref counting).
...
Change Cocoa SDL_VideoData and SDL_WindowData implementations from C structs to Objective-C objects, since bridging between C and ObjC is easier that way.
2022-05-09 21:53:40 -07:00
Alex Szpakowski
d35c737f1c
macOS: change min supported OS from 10.6 to 10.7.
2022-05-09 21:53:40 -07:00