27: Include LunarG build settings in README r=kvark a=msiglreith
This commit is contained in:
bors[bot] 2018-01-29 18:21:06 +00:00
commit 1d77233de9

View file

@ -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.