I hate my life
This commit is contained in:
@ -5,7 +5,7 @@
|
||||
|
||||
function(tool_assets args)
|
||||
add_custom_target(assets
|
||||
COMMAND tar -C ./assets -czvf assets.tar.gz *
|
||||
COMMAND tar -C ${ASSETS_BUILD_DIR} -czvf assets.tar.gz *
|
||||
DEPENDS ${ARGV}
|
||||
COMMENT "Compressing Assets"
|
||||
)
|
||||
@ -23,7 +23,7 @@ function(tool_copy target)
|
||||
LIST(GET ARGV ${indexnext} to)
|
||||
LIST(APPEND LOOP_DEPENDENCIES ${LOOP_TARGET})
|
||||
add_custom_command(OUTPUT ${LOOP_TARGET}
|
||||
COMMAND ${CMAKE_COMMAND} -E copy "${ROOT_DIR}/${ASSETS_DIR}/${from}" "${ASSETS_DIR}/${to}"
|
||||
COMMAND ${CMAKE_COMMAND} -E copy "${from}" "${ASSETS_BUILD_DIR}/${to}"
|
||||
COMMENT "Copying ${from} => ${to}"
|
||||
)
|
||||
endforeach()
|
||||
|
Reference in New Issue
Block a user