You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
通过修改编译选项,能够减小duilib.lib大小。
具体如下:关闭 /GL 选项,在工程的属性中,C/C++选项卡中,将Whole Program Optimization改为No,然后重新编译。
这个选项关闭后,duilib.lib大小在62MB左右(操作系统:windows 11 pro 64bit,编译环境:vs2022+64bit+MT)。
编译环境:vs2022+64bit+MT
操作系统:windows 11 pro 64bit
编译结果:duilib.lib大小430MB
问题:可有什么手段减小lib库的大小,尝试更改项目属性:全程序优化,改为”使用链接时间代码生成“,但无效
感谢!
The text was updated successfully, but these errors were encountered: