mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-25 00:09:02 +00:00
Generate the Vulkan shaders at build time (#2199)
Use `add_custom_command` and `add_custom_target` instead of `execute_process` so the generation of the Vulkan shader is done at build time and not configuration time. Use `configure_file` instead of string replacement. Fixes #2179 Signed-off-by: Ahmed Hesham <ahmed.hesham@arm.com>
This commit is contained in:
@@ -32,3 +32,5 @@ include_directories("../common/vulkan_wrapper")
|
||||
add_subdirectory(shaders)
|
||||
|
||||
include(../CMakeCommon.txt)
|
||||
|
||||
add_dependencies(${${MODULE_NAME}_OUT} vulkan_shaders)
|
||||
|
||||
Reference in New Issue
Block a user