From 126e5ff9e1be66f40359598b7e4abb0e79519fb0 Mon Sep 17 00:00:00 2001 From: Bill Hollings Date: Fri, 30 Mar 2018 13:03:37 -0400 Subject: [PATCH] Add instructions in README.md about building MoltenVK via the command line. --- README.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3e088994..6d9a75ab 100644 --- a/README.md +++ b/README.md @@ -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 + + Running the **MoltenVK** Demo Applications