|
@@ -6,6 +6,8 @@ From the developer's point of view, macOS is a sort of hybrid Mac and
|
|
|
Unix system, and you have the option of using either traditional
|
|
Unix system, and you have the option of using either traditional
|
|
|
command line tools or Apple's IDE Xcode.
|
|
command line tools or Apple's IDE Xcode.
|
|
|
|
|
|
|
|
|
|
+SDL supports building with Xcode 12.2 and the macOS 11.0 SDK or newer, and deploying to macOS 10.13 and newer.
|
|
|
|
|
+
|
|
|
# Command Line Build
|
|
# Command Line Build
|
|
|
|
|
|
|
|
To build SDL using the command line, use the CMake build script:
|
|
To build SDL using the command line, use the CMake build script:
|
|
@@ -30,8 +32,6 @@ cmake --build .
|
|
|
sudo cmake --install .
|
|
sudo cmake --install .
|
|
|
```
|
|
```
|
|
|
|
|
|
|
|
-Please note that building SDL requires at least Xcode 12.2 and the macOS 11.0 SDK.
|
|
|
|
|
-
|
|
|
|
|
If you are getting errors building SDL_mfijoystick.m with Xcode 12.2, find your SDKs
|
|
If you are getting errors building SDL_mfijoystick.m with Xcode 12.2, find your SDKs
|
|
|
directory and move MacOSX10.15.sdk out of the way so it isn't accidentally being used
|
|
directory and move MacOSX10.15.sdk out of the way so it isn't accidentally being used
|
|
|
by the build environment.
|
|
by the build environment.
|