2 Star 0 Fork 0

siger_net/wmh

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
build_libs.sh 911 Bytes
一键复制 编辑 原始数据 按行查看 历史
siger_net 提交于 2016-01-17 17:32 . 支付pdf附件直接打开
#!/bin/bash
# Call this script from a "Run Script" target in the Xcode project to
# cross compile MuPDF and third party libraries using the regular Makefile.
# Also see "iOS" section in Makerules.
if [ ! -e mupdf-1.8-source/generated/gen_cmap_korea.h ]
then
echo 'ERROR: You are missing the generated files.'
echo 'ERROR: Please run "make generate" from the mupdf directory.'
exit 1
fi
export OS=ios
export build=$(echo $CONFIGURATION | tr A-Z a-z)
FLAGS="-Wno-unused-function -Wno-empty-body"
for A in $ARCHS
do
FLAGS="$FLAGS -arch $A"
done
OUT=build/$build-$OS-$(echo $ARCHS | tr ' ' '-')
echo Compiling libraries for $ARCHS.
make -j4 -C mupdf-1.8-source OUT=$OUT XCFLAGS="$FLAGS" XLDFLAGS="$FLAGS" third libs || exit 1
echo Copying library to $BUILT_PRODUCTS_DIR/.
mkdir -p "$BUILT_PRODUCTS_DIR"
cp -f mupdf-1.8-source/$OUT/lib*.a $BUILT_PRODUCTS_DIR
ranlib $BUILT_PRODUCTS_DIR/lib*.a
echo Done.
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zhangwen800/wmh.git
git@gitee.com:zhangwen800/wmh.git
zhangwen800
wmh
wmh
master

搜索帮助