Test loading asset data.

This commit is contained in:
2024-10-06 18:52:52 -05:00
parent 5751f7c83c
commit 7a8ca2fca1
12 changed files with 834 additions and 32 deletions

View File

@ -3,9 +3,9 @@
# This software is released under the MIT License.
# https://opensource.org/licenses/MIT
function(tool_copy target input output)
function(tool_copy target file)
add_custom_target(${target}
COMMAND ${CMAKE_COMMAND} -E copy ${input} ${output}
COMMAND ${CMAKE_COMMAND} -E copy ${DAWN_ASSETS_SOURCE_DIR}/${file} ${DAWN_ASSETS_BUILD_DIR}/${file}
)
add_dependencies(dawnassets ${target})
endfunction()