make pak uncompressed

This commit is contained in:
houzh 2023-09-06 10:41:00 +08:00
parent 888092eb5b
commit 4afdcbf1ca

View File

@ -24,7 +24,7 @@ ENDMACRO()
function(CreatePAK project ResourceDIR PakPath rhpath)
add_custom_target(${project}_assets
COMMAND ${CMAKE_SOURCE_DIR}/scripts/idgen.py ${project} ${ResourceDIR} ${rhpath}
COMMAND zip -q -r -D -1 ${PakPath} ./ -x "*.swp" ".*"
COMMAND zip -q -r -D -0 ${PakPath} ./ -x "*.swp" ".*"
WORKING_DIRECTORY ${ResourceDIR}
COMMENT "Pckage Assets from ${ResourceDIR} to:${PakPath}")
add_dependencies(${project} ${project}_assets)