Skip to content

Include only the necessary headers to avoid linking against the common library#341

Merged
VeithMetro merged 3 commits into
masterfrom
development/no-common-lib
Jul 16, 2026
Merged

Include only the necessary headers to avoid linking against the common library#341
VeithMetro merged 3 commits into
masterfrom
development/no-common-lib

Conversation

@VeithMetro

@VeithMetro VeithMetro commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings July 15, 2026 10:20

Copilot AI left a comment

Copy link
Copy Markdown

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 Windows build configuration for the DeviceInfo and securityagent libraries to prevent unintended linkage against common.lib by defining THUNDER_NO_COMMON_LIB in the affected Visual Studio projects.

Changes:

  • Add THUNDER_NO_COMMON_LIB to PreprocessorDefinitions for all Win32/x64 Debug/Release configurations in securityagent.vcxproj.
  • Add THUNDER_NO_COMMON_LIB to PreprocessorDefinitions for all Win32/x64 Debug/Release configurations in DeviceInfo.vcxproj.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
Source/securityagent/securityagent.vcxproj Defines THUNDER_NO_COMMON_LIB for all Win32/x64 Debug/Release builds to avoid accidental common.lib default-lib linkage.
Source/deviceinfo/DeviceInfo.vcxproj Defines THUNDER_NO_COMMON_LIB for all Win32/x64 Debug/Release builds to avoid accidental common.lib default-lib linkage.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI review requested due to automatic review settings July 16, 2026 08:02
@VeithMetro VeithMetro changed the title [Windows][DeviceInfo][SecurtityAgent] Do not link common.lib by accident Include only the necessary headers to avoid linking against the common library Jul 16, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

Comment thread Source/securityagent/Module.h
Copilot AI review requested due to automatic review settings July 16, 2026 08:18

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated no new comments.

@sebaszm
sebaszm self-requested a review July 16, 2026 09:32

@sebaszm sebaszm 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.

Looks good.

@VeithMetro
VeithMetro merged commit e3e15fe into master Jul 16, 2026
58 checks passed
@VeithMetro
VeithMetro deleted the development/no-common-lib branch July 16, 2026 09:33
@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.

3 participants