Include LunarG build settings in README

This commit is contained in:
msiglreith 2018-01-29 19:04:06 +01:00 committed by GitHub
parent 23d10a3c0f
commit 55dbf83cdb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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.