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

chore: Set default symbol visibility to hidden in CMAKE #1490

Merged
merged 3 commits into from
Mar 6, 2024

Conversation

jadebenn
Copy link
Collaborator

@jadebenn jadebenn commented Mar 3, 2024

Change the default C++ symbol visibility to hidden, since we aren't exporting any of them at all. This shrinks WorldServer by about 0.8 MB without any impact to functionality. Tested by moving around Gnarled Forest for about 30 minutes, completing side missions.

@jadebenn
Copy link
Collaborator Author

jadebenn commented Mar 3, 2024

Before change:
image

After change:
image

@aronwk-aaron
Copy link
Member

Will want to get the offer cmake PR I think. To avoid more merge conflict. But looks good otherwise

CMakeLists.txt Outdated Show resolved Hide resolved
Copy link
Collaborator

@EmosewaMC EmosewaMC left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do not merge until #1387 is merged please

@jadebenn
Copy link
Collaborator Author

jadebenn commented Mar 6, 2024

Looks like it can still automerge. Kind of surprised, really.

@aronwk-aaron aronwk-aaron merged commit 6c9c826 into main Mar 6, 2024
4 checks passed
@aronwk-aaron aronwk-aaron deleted the ChangeDefaultVisibility branch March 6, 2024 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants