VulkanMemoryAllocator/CMakeLists.txt
2021-05-28 02:12:29 +02:00

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)