1
Fork 0
mirror of https://github.com/redstrate/dxbc.git synced 2025-04-20 03:37:47 +00:00
dxbc/CMakeLists.txt

20 lines
390 B
Text
Raw Normal View History

2023-12-09 21:18:25 -05:00
cmake_minimum_required(VERSION 3.20)
2023-09-22 15:54:45 -04:00
project(dxbc LANGUAGES CXX)
option(BUILD_EXAMPLE "Build example application" ON)
2023-09-22 15:54:45 -04:00
find_package(Vulkan REQUIRED)
2024-04-24 14:44:11 -04:00
find_package(SPIRV-Headers REQUIRED)
2023-09-22 15:54:45 -04:00
2024-04-24 17:15:29 -04:00
if (NOT WIN32)
add_subdirectory(include/windows)
endif()
2023-09-22 15:54:45 -04:00
add_subdirectory(src/util)
add_subdirectory(src/spirv)
add_subdirectory(src/dxbc)
2023-09-22 15:54:45 -04:00
if (BUILD_EXAMPLE)
add_subdirectory(example)
endif()