Added fully functional build shaders with dependencies on folders

This commit is contained in:
Alejandro Saucedo 2020-08-25 08:39:23 +01:00
parent 9e72620c1c
commit 2490708486
7 changed files with 88 additions and 8 deletions

View file

@ -3,9 +3,10 @@ find_package(fmt REQUIRED)
find_package(spdlog REQUIRED)
find_package(Vulkan REQUIRED)
kompute_make(install_python_reqs)
kompute_make(build_shaders)
kompute_make(build_single_header)
kompute_make(build_shaders
OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/include)
kompute_make(build_single_header
OUTPUT ${PROJECT_SOURCE_DIR}/single_include)
file(GLOB kompute_CPP
"${CMAKE_CURRENT_SOURCE_DIR}/*.cpp"
@ -31,8 +32,6 @@ add_dependencies(kompute
build_shaders
build_single_header)
add_dependencies(kompute
install_python_reqs)
add_library(kompute::kompute ALIAS kompute)