12 lines
354 B
CMake
12 lines
354 B
CMake
# Copyright (c) 2023 Dominic Msters
|
|
#
|
|
# This software is released under the MIT License.
|
|
# https://opensource.org/licenses/MIT
|
|
|
|
function(tool_copy target file)
|
|
add_custom_target(${target}
|
|
COMMAND ${CMAKE_COMMAND} -E copy ${DAWN_ASSETS_SOURCE_DIR}/${file} ${DAWN_ASSETS_BUILD_DIR}/${file}
|
|
)
|
|
add_dependencies(dawnassets ${target})
|
|
endfunction()
|