Commit Graph

4 Commits

Author SHA1 Message Date
Mike Weiblen
62becc509a Revert "Export versioned targets for CMake"
This reverts commit 382bf3de06.

Revert PR #110
https://github.com/KhronosGroup/Vulkan-Headers/pull/110
2020-04-23 10:59:45 -06:00
Rahul Sheth
382bf3de06 Export versioned targets for CMake
Generate VulkanHeadersConfig.cmake and version file and install them.
To get the version information the header file vulkan_core.h is parsed.

In client code one can use `find_package(VulkanHeaders)` and get the
targets `Vulkan::Headers` and `Vulkan::Registry`.

The following additional files are generated and installed by CMake:
- VulkanHeadersConfig.cmake:        searched for by find_package(VulkanHeaders)
- VulkanHeadersConfigVersion.cmake: provides version numbers
- VulkanHeadersTargets.cmake:       CMake target definitions used by config file
2020-04-16 16:21:54 -06:00
Mike Weiblen
4be87abcfa cmake: Add Kitware copyright
Get latest Kitware copyright notice from
https://gitlab.kitware.com/cmake/cmake/blob/master/Copyright.txt @ d45d5e2
2018-06-27 11:24:55 -06:00
Karl Schultz
afd12b7bdc build: Add CMake files for install target 2018-05-30 17:38:30 -06:00