Add instructions in README.md about building MoltenVK via the command line.

This commit is contained in:
Bill Hollings 2018-03-30 13:03:37 -04:00
parent 20c98e5e46
commit 126e5ff9e1

View File

@ -104,8 +104,6 @@ Once built, **MoltenVK** can be run on *iOS* or *macOS* devices that support *Me
- Information on compatible *iOS* devices that are compatible with *Metal* can be found in
[this article](https://developer.apple.com/library/content/documentation/DeviceInformation/Reference/iOSDeviceCompatibility/HardwareGPUInformation/HardwareGPUInformation.html).
The `MoltenVKPackaging.xcodeproj` *Xcode* project contains targets and schemes to build
and package the entire **MoltenVK** runtime distribution package, or to build individual
**MoltenVK** or **MoltenVKShaderConverter** components.
@ -131,6 +129,18 @@ to the **MoltenVK** frameworks in the `Package/Latest` directory, to provide the
app with either a **Debug** build, or a higher-performance **Release** build.
### Building from the Command Line
If you prefer to build **MoltenVK** from the command line, or to include the activity in a larger build script,
you can do so using the following command from within the `MoltenVK` repository:
xcodebuild -project MoltenVKPackaging.xcodeproj -scheme "MoltenVK (Release)" build
or
xcodebuild -project MoltenVKPackaging.xcodeproj -scheme "MoltenVK (Debug)" build
<a name="demos"></a>
Running the **MoltenVK** Demo Applications