Sam Lantinga
8e4a39b41c
Rename the xcFramework target to SDL.xcframework so it's clear when being embedded in other projects
2023-01-12 13:23:49 -08:00
Sam Lantinga
5f39dd8a2f
Always run xcFramework and disk image creation builds when requested
2023-01-12 13:08:33 -08:00
Sam Lantinga
050507c333
Fail the xcFramework build if the archive didn't succeed
2023-01-11 16:48:55 -08:00
Sam Lantinga
d0aaf74ec0
Added an xcframework target to cover all supported Apple platforms
...
This is also used to create the release disk image
2023-01-11 14:41:30 -08:00
Sam Lantinga
dc280c17a0
Moved SDL_intrin.h back into the public headers for application use
2023-01-10 15:50:35 -08:00
Sam Lantinga
fde78d12f2
Updated copyright for 2023
2023-01-09 09:41:41 -08:00
Sam Lantinga
1d956c2817
Rename SDL2 tests for SDL3
2023-01-03 11:54:35 -08:00
Anonymous Maarten
7150d6b05a
cmake: add SDL3 to include path
...
This reverts parts of 9f2ca87
2022-12-29 09:01:56 -08:00
Sam Lantinga
659abc721a
SDL API renaming: SDL_gamecontroller.h
...
SDL_gamecontroller.h has been renamed SDL_gamepad.h, and all APIs have been renamed to match.
Fixes https://github.com/libsdl-org/SDL/issues/6885
2022-12-27 09:47:24 -08:00
Ryan C. Gordon
3197632347
include: Renamed begin_code.h and close_code.h to have SDL_ prefixes.
...
Fixes #6864 .
2022-12-22 11:39:26 -05:00
Sam Lantinga
de871dc5f7
Sorted headers in Xcode project
...
This lets us more easily see when one is missing
2022-12-19 09:55:53 -08:00
Sam Lantinga
0d172ccb40
Fixed marking SDL headers as public in the Xcode project
...
Fixes https://github.com/libsdl-org/SDL/issues/6851
2022-12-19 09:45:43 -08:00
Sam Lantinga
5a45d2e58b
Updated Xcode project for SDL_main as a header-only library
2022-12-15 10:53:44 -08:00
Daniel Gibson
c3bf253b09
Remove SDL3_main from build systems, remove most of src/main/*
...
XCode is still missing, and src/main/winrt/SDL3-WinRTResource*
still need to find a new home
2022-12-15 08:01:01 -08:00
Ryan C. Gordon
a76053352c
gesture: Removed the gesture API from SDL3.
...
Fixes #6758 .
2022-12-13 14:54:37 -05:00
Sasha Szpakowski
b3b94cf36b
Fix xcode project after opengles renderer removal
2022-11-30 17:25:43 -08:00
Sam Lantinga
c5790359fd
Added precompiled header support for Visual Studio and Xcode ( #6710 )
...
Fixes https://github.com/libsdl-org/SDL/issues/6704
2022-11-29 18:34:15 -08:00
Sam Lantinga
c2432f8d0d
Rename SDLmain to SDL_main and SDLtest to SDL_test for consistency with other SDL libraries
2022-11-28 10:57:59 -08:00
Sam Lantinga
0a48abc860
Switch header convention from #include "SDL.h" to #include <SDL3/SDLh>
...
I ran this script in the include directory:
```sh
sed -i '' -e 's,#include "\(SDL.*\)",#include <SDL3/\1>,' *.h
```
I ran this script in the src directory:
```sh
for i in ../include/SDL3/SDL*.h
do hdr=$(basename $i)
if [ x"$(echo $hdr | egrep 'SDL_main|SDL_name|SDL_test|SDL_syswm|SDL_opengl|SDL_egl|SDL_vulkan')" != x ]; then
find . -type f -exec sed -i '' -e 's,#include "\('$hdr'\)",#include <SDL3/\1>,' {} \;
else
find . -type f -exec sed -i '' -e '/#include "'$hdr'"/d' {} \;
fi
done
```
Fixes https://github.com/libsdl-org/SDL/issues/6575
2022-11-26 22:15:18 -08:00
Sam Lantinga
63f307fe1f
Remove SDL_config.h from the public headers
...
The SDL headers are no longer dependent on the build configuration.
Fixes https://github.com/libsdl-org/SDL/issues/6643 and https://github.com/libsdl-org/SDL/issues/6641
2022-11-26 04:48:36 -08:00
Sam Lantinga
6786dc481d
Xcode expects SUPPORTED_PLATFORMS to be "macosx" (thanks @MaddTheSane!)
2022-11-25 17:16:34 -08:00
Sam Lantinga
cc1f9eb983
Use Apple's nomenclature for macOS and iOS
...
Fixes https://github.com/libsdl-org/SDL/issues/6621
2022-11-25 16:00:06 -08:00
Sam Lantinga
2c4159b99a
First pass at changing SDL 2.0 to SDL 3.0
2022-11-21 20:28:58 -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