shvulkan pre-release
by mrsinho.
|
Open the terminal and run the following commands:
CMake Target | Type | Configure Flags |
---|---|---|
shvulkan | library | / |
shvulkan-docs | Doxygen outputs | / |
shvulkan-clear-color | executable | SH_VULKAN_BUILD_EXAMPLES=ON |
shvulkan-scene | executable | SH_VULKAN_BUILD_EXAMPLES=ON |
shvulkan-compute-example | executable | SH_VULKAN_BUILD_EXAMPLES=ON |
If the cmake option SH_VULKAN_BUILD_EXAMPLES
is enabled, the additional glfw
target will be generated as a static library.
CMake Variable | About |
---|---|
SH_VULKAN_VERSION | Version of the shvulkan library |
SH_VULKAN_ROOT_DIR | Absolute path to the root of the repository directory |
SH_VULKAN_BINARIES_DIR | Absolute path to the output binaries directory |
To link to the shvulkan
library with CMake:
Then, include the shVulkan.h
header file: