mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2024-10-14 16:32:17 +00:00
extend workflow run to generate vulkansc*.hpp (#1525)
This commit is contained in:
parent
ae07aa7254
commit
4befd8e643
@ -163,6 +163,7 @@ option (VULKAN_HPP_RUN_GENERATOR "Run the HPP generator" OFF)
|
|||||||
if (VULKAN_HPP_RUN_GENERATOR)
|
if (VULKAN_HPP_RUN_GENERATOR)
|
||||||
add_custom_command(
|
add_custom_command(
|
||||||
COMMAND ${PROJECT_NAME}
|
COMMAND ${PROJECT_NAME}
|
||||||
|
COMMAND ${PROJECT_NAME} -api vulkansc
|
||||||
OUTPUT "${vulkan_hpp}"
|
OUTPUT "${vulkan_hpp}"
|
||||||
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
||||||
COMMENT "run ${PROJECT_NAME}"
|
COMMENT "run ${PROJECT_NAME}"
|
||||||
|
Loading…
Reference in New Issue
Block a user