From 55dbf83cdb8d76532b9b864eaf5dd7327c4b7da9 Mon Sep 17 00:00:00 2001 From: msiglreith Date: Mon, 29 Jan 2018 19:04:06 +0100 Subject: [PATCH] Include LunarG build settings in README --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index da11b04..f2d038c 100644 --- a/README.md +++ b/README.md @@ -26,3 +26,13 @@ cd build cmake .. cmake --build . --target native_test ``` + +## Running Samples + +### LunarG (API-Samples) +After building `portability` as shown above, grab a copy from https://github.com/LunarG/VulkanSamples. +Manually override the [`VULKAN_LOADER`](https://github.com/LunarG/VulkanSamples/blob/master/API-Samples/CMakeLists.txt#L189-L194) variable and set it to the portability library. +``` +set (VULKAN_LOADER "path/to/portability/library") +``` +Then proceed with the normal build instructions.