third_party_vulkan-loader/external
Charles Giessen 4f82246c65 tests: Add CMake to handle Detours library
The Detours library uses a make file to build it. Thus it needed
to be translated into CMake equivalent code to make a useable target.

Change-Id: Ibed33c962e522f44297c7fa9cbe3f62964503ceb
2021-05-27 16:59:28 -06:00
..
CMakeLists.txt tests: Add CMake to handle Detours library 2021-05-27 16:59:28 -06:00
README.md tests: Add CMake to handle Detours library 2021-05-27 16:59:28 -06:00

External dependencies

This directory provides a location where external projects can be cloned that are used by the loader.

Tests require GoogleTest on all platforms and Detours on Windows only.

The dependencies for testing need to be manually downloaded into this folder. CMake configuring will fail if they are not present If the repositories are already in the external folder, then CMake won't download them.

To download googletest

git clone https://github.com/google/googletest.git

To download Detours (only necessary for Windows)

git clone https://github.com/microsoft/Detours.git

If you don't have a local install of the Vulkan Headers they can be placed in the externals folder with:

git clone https://github.com/KhronosGroup/Vulkan-Headers.git