mirror of
https://gitee.com/houstudio/Cdroid.git
synced 2024-11-30 03:08:12 +08:00
fix pak with fontfiles(we cant compress fontfiles)
This commit is contained in:
parent
80f90d0ee0
commit
a70fc30002
6
build.sh
6
build.sh
@ -13,8 +13,10 @@ TOOLCHAINS["D211"]=${TOPDIR}/cmake/riscv64-d211-toolchain.cmake
|
||||
TOOLCHAINS["HI3536"]=${TOPDIR}/cmake/hisiv500-toolchain.cmake
|
||||
|
||||
declare -A DEPLIBS #key/value dict,key is platform,value is deplibs dir in vcpkg,key must be uppercase
|
||||
VCPKGROOT=/opt/vcpkg
|
||||
#VCPKGROOT=${HOME}/vcpkg
|
||||
|
||||
#VCPKGROOT=/opt/vcpkg
|
||||
VCPKGROOT=${HOME}/vcpkg
|
||||
|
||||
DEPLIBS["X64"]=${VCPKGROOT}/installed/x64-linux-dynamic
|
||||
DEPLIBS["SIGMA"]=${VCPKGROOT}/installed/arm-linux-dynamic
|
||||
DEPLIBS["RISCVD211"]=${VCPKGROOT}/installed/riscv64-linux-dynamic
|
||||
|
@ -27,7 +27,7 @@ function(CreatePAK project ResourceDIR PakPath rhpath)
|
||||
add_custom_target(${project}_assets
|
||||
COMMAND ${Python_EXECUTABLE} ${CMAKE_SOURCE_DIR}/scripts/idgen.py ${project} ${ResourceDIR} ${rhpath}
|
||||
COMMAND zip -q -r -D -1 ${PakPath} ./ -x "*.swp" ".*" "*.png" "*.jpg" "*.jpeg"
|
||||
COMMAND zip -q -r -D -0 ${PakPath} ./ -i "*.png" "*.jpg" "*.jpeg"
|
||||
COMMAND zip -q -r -D -0 ${PakPath} ./ -i "*.png" "*.jpg" "*.jpeg" "*.ttf" "*.otf" "*.ttc"
|
||||
WORKING_DIRECTORY ${ResourceDIR}
|
||||
COMMENT "Pckage Assets from ${ResourceDIR} to:${PakPath}")
|
||||
add_dependencies(${project} ${project}_assets)
|
||||
|
Loading…
Reference in New Issue
Block a user