extend workflow run to generate vulkansc*.hpp (#1525)

This commit is contained in:
Andreas Süßenbach
2023-03-07 14:07:16 +01:00
committed by GitHub
parent ae07aa7254
commit 4befd8e643

View File

@@ -163,6 +163,7 @@ option (VULKAN_HPP_RUN_GENERATOR "Run the HPP generator" OFF)
if (VULKAN_HPP_RUN_GENERATOR)
add_custom_command(
COMMAND ${PROJECT_NAME}
COMMAND ${PROJECT_NAME} -api vulkansc
OUTPUT "${vulkan_hpp}"
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
COMMENT "run ${PROJECT_NAME}"