Use clang instead of libtool for building dynamic library from static library. Fix SDK issue when building dylib with Xcode 9 on Sierra. Add scripts to update submodules to latest versions. Update to latest versions of submodules. Remove Brenwill code signing IDs from Demo projects.
2.3 KiB

Copyright (c) 2014-2017 The Brenwill Workshop Ltd.
This document is written in Markdown format. For best results, use a Markdown reader.
Table of Contents
Using the Vulkan-Hpp Spec Repository with MoltenVK
MoltenVK uses the official Khronos Vulkan specification repository to provide the standard Vulkan API header files and Vulkan Specification documentation.
To add the Khronos Vulkan specification repository to MoltenVK, open a Terminal session and perform the following command-line steps:
-
Ensure you have
python3
andasciidoctor
installed:brew install python3 sudo gem install asciidoctor
-
If you used the
--recursive
option when cloning theMoltenVK
repository, you should already have theVulkan-Hpp
submodule, and you can skip to Step 3 below. If you did not use the--recursive
option when cloning theMoltenVK
repository, retrieve theVulkan-Hpp
submodule into theExternal
directory as follows, from within theMoltenVK
repository directory:git submodule update --init --recursive External/Vulkan-Hpp
-
In the
Externals
folder within theMoltenVK
repository, build the spec and header files as follows from the main directory of thisMoltenVK
repository:cd External ./makeVulkanSpec
Updating the Vulkan-Hpp library version
If you are developing enhancements to MoltenVK, you can update the version of Vulkan-Hpp
used by MoltenVK to the latest version available by re-cloning and re-building the
Vulkan-Hpp
submodule using the getLatestVulkanSpec
script:
cd External
./getLatestVulkanSpec
The updated version will then be "locked in" the next time the MoltenVK
repository is committed to git
.