Skip to content
Discussion options

You must be logged in to vote

这是因为MSVC默认会把符号和调试信息都打到静态库里,需要自己调用命令行移除。或者你可以使用我们提供的node编译工具来构建,那边也会自动帮你优化包体,具体操作看一下README文档:https://github.com/Tencent/tgfx/blob/main/README.md#build-library 另外静态库的大小是没有参考意义的,可以不用关心,不会影响最终链接后的程序大小。你关注最终连接后的动态库或者可执行程序大小就行。

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by domchen
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@yixy-only
Comment options

Comment options

You must be logged in to vote
1 reply
@yixy-only
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants