Updated to add compute shaders with header

This commit is contained in:
Alejandro Saucedo 2020-08-25 20:44:55 +01:00
parent 2490708486
commit d0849f799b
7 changed files with 297 additions and 292 deletions

View file

@ -3,8 +3,10 @@ find_package(fmt REQUIRED)
find_package(spdlog REQUIRED)
find_package(Vulkan REQUIRED)
# In production builds all shaders are compiled into cpp files
kompute_make(build_shaders
OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/include)
# In production builds all headers are compiled into a single header
kompute_make(build_single_header
OUTPUT ${PROJECT_SOURCE_DIR}/single_include)