Skip to content

[Common] Make sure common.lib does not always have to be included on Windows#2173

Closed
VeithMetro wants to merge 2 commits into
masterfrom
development/windows-no-common-lib
Closed

[Common] Make sure common.lib does not always have to be included on Windows#2173
VeithMetro wants to merge 2 commits into
masterfrom
development/windows-no-common-lib

Conversation

@VeithMetro

@VeithMetro VeithMetro commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

When it's merged, we can fix the broken ClientLibs builds with this PR

Copilot AI review requested due to automatic review settings July 15, 2026 11:03

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the public common.h umbrella header to make Windows auto-linking of common.lib optional, so consumers can include the header without being forced to pull in the import library.

Changes:

  • Gate #pragma comment(lib, "common.lib") behind an opt-out macro (THUNDER_NO_COMMON_LIB) on Windows.

@VeithMetro
VeithMetro requested a review from sebaszm July 15, 2026 11:30
@VeithMetro VeithMetro closed this Jul 16, 2026
@VeithMetro
VeithMetro deleted the development/windows-no-common-lib branch July 16, 2026 08:01
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 16, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants