VirtualBox

source: vbox/trunk/src/libs/dxvk-2.3.1/include/vulkan/BUILD.md@ 107935

Last change on this file since 107935 was 105107, checked in by vboxsync, 9 months ago

libs/dxvk-2.3.1: Make it build, bugref:10716

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.2 KB
Line 
1<!--
2Copyright 2018-2023 The Khronos Group Inc.
3
4SPDX-License-Identifier: Apache-2.0
5-->
6
7# Build Instructions
8
9Instructions for building this repository.
10
11```bash
12git clone https://github.com/KhronosGroup/Vulkan-Headers.git
13
14cd Vulkan-Headers/
15
16# Configure the project
17cmake -S . -B build/
18
19# Because Vulkan-Headers is header only we don't need to build anything.
20# Users can install it where they need to.
21cmake --install build --prefix build/install
22```
23
24See the official [CMake documentation](https://cmake.org/cmake/help/latest/index.html) for more information.
25
26## Installed Files
27
28The `install` target installs the following files under the directory
29indicated by *install_dir*:
30
31- *install_dir*`/include/vulkan` : The header files found in the
32 `include/vulkan` directory of this repository
33- *install_dir*`/share/cmake/VulkanHeaders`: The CMake config files needed
34 for find_package support
35- *install_dir*`/share/vulkan/registry` : The registry files found in the
36 `registry` directory of this repository
37
38## Usage in CMake
39
40```cmake
41find_package(VulkanHeaders REQUIRED CONFIG)
42
43target_link_libraries(foobar PRIVATE Vulkan::Headers)
44
45message(STATUS "Vulkan Headers Version: ${VulkanHeaders_VERSION}")
46```
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette