We don't need the VULKAN_SDK to build SDL with Vulkan support anymore
authorSam Lantinga <slouken@libsdl.org>
Mon, 28 Aug 2017 19:30:59 -0700
changeset 114009eefdf672499
parent 11399 1f1d2f47a702
child 11401 7d6f83ec35c1
We don't need the VULKAN_SDK to build SDL with Vulkan support anymore
docs/README-ios.md
docs/README-macosx.md
     1.1 --- a/docs/README-ios.md	Mon Aug 28 17:28:09 2017 -0700
     1.2 +++ b/docs/README-ios.md	Mon Aug 28 19:30:59 2017 -0700
     1.3 @@ -7,11 +7,9 @@
     1.4  
     1.5  Requirements: Mac OS X 10.8 or later and the iOS 7+ SDK.
     1.6  
     1.7 -Instructions:
     1.8 -
     1.9 -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`.
    1.10 -2.  Open SDL.xcodeproj (located in Xcode-iOS/SDL) in Xcode.
    1.11 -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.
    1.12 +Instructions:
    1.13 +
    1.14 +2.  Open SDL.xcodeproj (located in Xcode-iOS/SDL) in Xcode.
    1.15  4.  Select your desired target, and hit build.
    1.16  
    1.17  There are three build targets:
    1.18 @@ -27,10 +25,9 @@
    1.19  Build SDL for iOS from the command line
    1.20  ==============================================================================
    1.21  
    1.22 -1. Follow step 1 above.
    1.23 -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.
    1.24 -3. cd (PATH WHERE THE SDL CODE IS)/build-scripts
    1.25 -2. ./iosbuild.sh
    1.26 +1. Follow step 1 above.
    1.27 +2. cd (PATH WHERE THE SDL CODE IS)/build-scripts
    1.28 +3. ./iosbuild.sh
    1.29  
    1.30  If everything goes fine, you should see a build/ios directory, inside there's
    1.31  two directories "lib" and "include". 
     2.1 --- a/docs/README-macosx.md	Mon Aug 28 17:28:09 2017 -0700
     2.2 +++ b/docs/README-macosx.md	Mon Aug 28 19:30:59 2017 -0700
     2.3 @@ -6,18 +6,9 @@
     2.4  
     2.5  From the developer's point of view, OS X is a sort of hybrid Mac and
     2.6  Unix system, and you have the option of using either traditional
     2.7 -command line tools or Apple's IDE Xcode.
     2.8 -
     2.9 -Preparation
    2.10 -===========
    2.11 -
    2.12 -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.13 -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.
    2.14 -	- 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`.
    2.15 -	- 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*.
    2.16 -	- 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.
    2.17 -
    2.18 -Command Line Build
    2.19 +command line tools or Apple's IDE Xcode.
    2.20 +
    2.21 +Command Line Build
    2.22  ==================
    2.23  
    2.24  To build SDL using the command line, use the standard configure and make