首页 > 其他 > 详细

客户端瘦身

时间:2014-03-05 18:13:00      阅读:566      评论:0      收藏:0      [点我收藏+]

转载请注明,来自:http://blog.csdn.net/skyman_2001

我们客户端刚开始编译出来有20MB,通过下面措施成功瘦身为6MB:

For the release build: 
1. "Deployment Post Processing" is enabled (otherwise the whole stripping process isn‘t initiated) 
2.  "Strip Debug Symbols During Copy" is enabled 
3.  "Strip Linked Product" is enabled 
4.  "Strip Style" is set to "Non-Global Symbols" 
5.  check "symbols hidden by default"
6.  __attribute__((visibility("default"))) void NeedExport() {}


客户端瘦身,布布扣,bubuko.com

客户端瘦身

原文:http://blog.csdn.net/skymanwu/article/details/20489379

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!