mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator
synced 2024-11-22 20:30:05 +00:00
15 lines
531 B
CMake
15 lines
531 B
CMake
cmake_minimum_required(VERSION 3.9)
|
|
|
|
project(VulkanMemoryAllocator)
|
|
|
|
set(CMAKE_DISABLE_IN_SOURCE_BUILD ON)
|
|
|
|
find_package(Vulkan REQUIRED)
|
|
|
|
# VulkanMemoryAllocator contains an example application and VmaReplay which are not build by default
|
|
option(VMA_BUILD_EXAMPLE_APP "Build VulkanMemoryAllocator example application" OFF)
|
|
option(VMA_BUILD_EXAMPLE_APP_SHADERS "Build VulkanMemoryAllocator example application's shaders" OFF)
|
|
option(VMA_BUILD_REPLAY_APP "Build VulkanMemoryAllocator replay application" OFF)
|
|
|
|
add_subdirectory(src)
|