Skip to content
Snippets Groups Projects

Bundle all the required files next to the generated binaries

Merged Ludovico de Nittis requested to merge wip/denittis/assets_dir into master
1 unresolved thread
+ 1
1
@@ -125,7 +125,7 @@ if(RESOURCE_INSTALL_DIR)
add_definitions(-DVK_EXAMPLE_DATA_DIR=\"${RESOURCE_INSTALL_DIR}/\")
install(DIRECTORY data/ DESTINATION ${RESOURCE_INSTALL_DIR}/)
add_custom_target(copy_assets
COMMAND ${CMAKE_COMMAND} -E echo "the assets has been installed, no need to copy them")
COMMAND ${CMAKE_COMMAND} -E echo "the assets have been installed, no need to copy them")
else()
add_definitions(-DVK_EXAMPLE_DATA_DIR=\"./data/\")
add_custom_target(copy_assets
Loading