Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

将 Magpie.Core 静态链接进 Magpie.App #735

Merged
merged 4 commits into from
Oct 17, 2023
Merged

将 Magpie.Core 静态链接进 Magpie.App #735

merged 4 commits into from
Oct 17, 2023

Conversation

Blinue
Copy link
Owner

@Blinue Blinue commented Oct 17, 2023

在最初的设想中,通过命令行可直接使用 Magpie.Core 缩放窗口而无需加载 Magpie.App,但这已不可行,因为我们使用 WinRT 的本地化接口,必须加载 Magpie.App。

将 Magpie.Core 改成静态链接可在模块边界执行更多优化,也有效缩减了软件体积,因为重复的代码将在链接阶段合并。

Magpie.Core 不再有自己的 conanfile.txt,而是和 Magpie.App 共用,无论如何 Magpie.App 都要链接 Magpie.Core 的依赖项。

@Blinue Blinue merged commit 41eeaf4 into dev Oct 17, 2023
2 checks passed
@Blinue Blinue deleted the static-core branch October 17, 2023 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant