idk why but my GDB just stopped working
This commit is contained in:
@ -17,4 +17,6 @@ set(
|
||||
|
||||
# Tools
|
||||
add_subdirectory(assetstool)
|
||||
add_subdirectory(texturetool)
|
||||
add_subdirectory(copytool)
|
||||
add_subdirectory(texturetool)
|
||||
add_subdirectory(truetypetool)
|
11
tools/copytool/CMakeLists.txt
Normal file
11
tools/copytool/CMakeLists.txt
Normal file
@ -0,0 +1,11 @@
|
||||
# Copyright (c) 2023 Dominic Msters
|
||||
#
|
||||
# This software is released under the MIT License.
|
||||
# https://opensource.org/licenses/MIT
|
||||
|
||||
function(tool_copy target input output)
|
||||
add_custom_target(${target}
|
||||
COMMAND ${CMAKE_COMMAND} -E copy ${input} ${output}
|
||||
)
|
||||
add_dependencies(dawnassets ${target})
|
||||
endfunction()
|
8
tools/truetypetool/CMakeLists.txt
Normal file
8
tools/truetypetool/CMakeLists.txt
Normal file
@ -0,0 +1,8 @@
|
||||
# Copyright (c) 2023 Dominic Msters
|
||||
#
|
||||
# This software is released under the MIT License.
|
||||
# https://opensource.org/licenses/MIT
|
||||
|
||||
function(tool_truetype target ttf)
|
||||
tool_copy(${target} ${ttf} ${DAWN_ASSETS_BUILD_DIR}/${target}.ttf)
|
||||
endfunction()
|
Reference in New Issue
Block a user