We don't need the VULKAN_SDK to build SDL with Vulkan support anymore

This commit is contained in:
Sam Lantinga 2017-08-28 19:30:59 -07:00
parent d2d5ffbe3e
commit a59b14cfcb
2 changed files with 9 additions and 21 deletions

View file

@ -7,11 +7,9 @@ Building the Simple DirectMedia Layer for iOS 5.1+
Requirements: Mac OS X 10.8 or later and the iOS 7+ SDK.
Instructions:
1. Either download [Molten](https://moltengl.com/free-trial/) and unzip it or download the Vulkan headers from Khronos's [Vulkan-Docs](https://github.com/KhronosGroup/Vulkan-Docs/tree/1.0/src/vulkan) repo and put them in a directory hierarchy `include/vulkan`.
2. Open SDL.xcodeproj (located in Xcode-iOS/SDL) in Xcode.
3. Set a `VULKAN_SDK` custom path in the Xcode preferences. Select *Custom Paths* on the *Locations* tab. The value should be either the `MoltenVK` directory within the unzipped Molten package or the parent of the `include/vulkan` hierarchy.
Instructions:
2. Open SDL.xcodeproj (located in Xcode-iOS/SDL) in Xcode.
4. Select your desired target, and hit build.
There are three build targets:
@ -27,10 +25,9 @@ There are three build targets:
Build SDL for iOS from the command line
==============================================================================
1. Follow step 1 above.
2. Either create and export a `VULKAN_SDK` environment variable with the value described in step 3 above or open Xcode, set the custom path described in step 3 above and close Xcode.
3. cd (PATH WHERE THE SDL CODE IS)/build-scripts
2. ./iosbuild.sh
1. Follow step 1 above.
2. cd (PATH WHERE THE SDL CODE IS)/build-scripts
3. ./iosbuild.sh
If everything goes fine, you should see a build/ios directory, inside there's
two directories "lib" and "include".