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

Disable as many Windows.h dependencies as possible #49

Closed
SamVanheer opened this issue Nov 18, 2021 · 0 comments
Closed

Disable as many Windows.h dependencies as possible #49

SamVanheer opened this issue Nov 18, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@SamVanheer
Copy link
Collaborator

The Windows.h header includes a lot of other stuff that slows down project compilation. Disabling as many of them as possible reduces build times for the client and server combined by 3 seconds, from 17 to 14 seconds. Larger projects will see a bigger decrease, scaling linearly with the number of source files that include Platform.h directly or indirectly.

@SamVanheer SamVanheer added the enhancement New feature or request label Nov 18, 2021
@SamVanheer SamVanheer self-assigned this Nov 18, 2021
LogicAndTrick pushed a commit to LogicAndTrick/halflife-updated that referenced this issue Dec 26, 2021
JoelTroch pushed a commit that referenced this issue Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant