mirror of
https://gitee.com/houstudio/Cdroid.git
synced 2024-12-02 04:07:42 +08:00
make pak uncompressed
This commit is contained in:
parent
888092eb5b
commit
4afdcbf1ca
@ -24,7 +24,7 @@ ENDMACRO()
|
|||||||
function(CreatePAK project ResourceDIR PakPath rhpath)
|
function(CreatePAK project ResourceDIR PakPath rhpath)
|
||||||
add_custom_target(${project}_assets
|
add_custom_target(${project}_assets
|
||||||
COMMAND ${CMAKE_SOURCE_DIR}/scripts/idgen.py ${project} ${ResourceDIR} ${rhpath}
|
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}
|
WORKING_DIRECTORY ${ResourceDIR}
|
||||||
COMMENT "Pckage Assets from ${ResourceDIR} to:${PakPath}")
|
COMMENT "Pckage Assets from ${ResourceDIR} to:${PakPath}")
|
||||||
add_dependencies(${project} ${project}_assets)
|
add_dependencies(${project} ${project}_assets)
|
||||||
|
Loading…
Reference in New Issue
Block a user