mirror of
https://github.com/charles-lunarg/vk-bootstrap.git
synced 2024-11-29 18:04:35 +00:00
14 lines
437 B
CMake
14 lines
437 B
CMake
|
add_executable(vk-bootstrap-triangle triangle.cpp)
|
||
|
target_link_libraries(vk-bootstrap-triangle
|
||
|
PRIVATE
|
||
|
glfw
|
||
|
vk-bootstrap
|
||
|
vk-bootstrap-compiler-warnings)
|
||
|
|
||
|
add_custom_command(
|
||
|
TARGET vk-bootstrap-triangle
|
||
|
POST_BUILD
|
||
|
COMMAND
|
||
|
${CMAKE_COMMAND} -E copy_directory
|
||
|
${CMAKE_SOURCE_DIR}/example/shaders ${CMAKE_CURRENT_BINARY_DIR}
|
||
|
DEPENDS ${CMAKE_CURRENT_BINARY_DIR})
|