Skip to content

Add ReleaseStatic configuration to WinGetServer project #5477

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

Merged
merged 1 commit into from
May 23, 2025

Conversation

florelis
Copy link
Member

@florelis florelis commented May 22, 2025

Each vcpkg port can only be installed with a single triplet at a time (in a given install directory). Since we have different triplets for static and non-static configurations, we need to ensure that all projects use the same triplet for a given solution configuration.

This PR adds the ReleaseStatic configuration to the WinGetServer project and sets the solution to use that when appropriate. It also includes a bit of deduplication in the vcxproj.

Having WinGetServer use the triplet for the non-static configuration when building for static, is causing errors in the internal build because it deletes some of the installed triplets that other projects later try to consume.

Microsoft Reviewers: Open in CodeFlow

@florelis florelis requested a review from a team as a code owner May 22, 2025 23:12
@florelis florelis merged commit e08cdae into microsoft:master May 23, 2025
9 checks passed
@florelis florelis deleted the ReleaseStatic branch May 23, 2025 19:02
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.

2 participants