diff options
author | Sam Lantinga <slouken@libsdl.org> | 2017-08-28 19:30:59 -0700 |
---|---|---|
committer | Sam Lantinga <slouken@libsdl.org> | 2017-08-28 19:30:59 -0700 |
commit | 000ac3ab3392f66dc6fed885c355bc6ba4d3ee25 (patch) | |
tree | dae99021bd0a361d564725aa8325a87745b87267 /docs | |
parent | 223fc946c140700d48b2b9b5ac50ec6b908d04c5 (diff) |
We don't need the VULKAN_SDK to build SDL with Vulkan support anymore
Diffstat (limited to 'docs')
-rw-r--r-- | docs/README-ios.md | 15 | ||||
-rw-r--r-- | docs/README-macosx.md | 15 |
2 files changed, 9 insertions, 21 deletions
diff --git a/docs/README-ios.md b/docs/README-ios.md index 746b4fba78..f7266f97dd 100644 --- a/docs/README-ios.md +++ b/docs/README-ios.md @@ -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".
diff --git a/docs/README-macosx.md b/docs/README-macosx.md index 5263cef23f..15ab39e653 100644 --- a/docs/README-macosx.md +++ b/docs/README-macosx.md @@ -6,18 +6,9 @@ These instructions are for people using Apple's Mac OS X (pronounced From the developer's point of view, OS X is a sort of hybrid Mac and
Unix system, and you have the option of using either traditional
-command line tools or Apple's IDE Xcode. - -Preparation -=========== - -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. Set a `VULKAN_SDK` variable in one of the ways described below. Its value should be either the `MoltenVK` directory within the unzipped Molten package or the parent of the `include/vulkan` hierarchy.
- - If you are going to use the command line, set and export a `VULKAN_SDK` environment variable in your shell's start-up file, e.g. `~/.bash_profile`. - - If you are going to use CMake, either set and export a `VULKAN_SDK` environment variable before running `cmake` or set the `VULKAN_SDK` variable in `cmake-gui` and press *Configure*. - - If you are going to use the provided Xcode projects, set a `VULKAN_SDK` custom path in Xcode's preferences. Select *Custom Paths* on the *Locations* tab of preferences. - -Command Line Build +command line tools or Apple's IDE Xcode.
+
+Command Line Build
==================
To build SDL using the command line, use the standard configure and make
|