-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
[vcpkg_fixup_pkgconfig] Check for more problems, add unit test #23898
Merged
Merged
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
9ed5937
Print stack traces for failed unit tests
dg0yt 5cc0072
Add test for vcpkg_fixup_pkgconfig.cmake
dg0yt 470157c
Check for 'optimized' and 'debug' in pc files
dg0yt 4100f17
Check for 'NOTFOUND' and for 'ns::target' in pc files
dg0yt 49212b2
Check for, and fix, line continuations
dg0yt df6f595
Test file path substitutions
dg0yt 250d3d6
Move contents processing into separate function
dg0yt 80c4b04
Update and leverage line break normalization
dg0yt 4103882
Pass prefix to data processing
dg0yt eabfabe
Validate only the collapsed Libs
dg0yt 85e10cf
Test removal of '<field>.private'
dg0yt 062b870
Declare unit test license (same as vcpkg)
dg0yt bf6373d
Replace ';' with ' ' in 'Libs:'
dg0yt 0c44306
Disambiguate parameter variable names
dg0yt d75ce53
Test quoting of variables
dg0yt 0684e8f
Fix quoting of variables
dg0yt b7aa0dc
Quote whole parameters
dg0yt a4cae5a
Process and quote libs item-wise
dg0yt 547e832
Resolve keywords 'optimized', 'debug', 'debug'
dg0yt a64def1
Consistency
dg0yt 636c4a5
Merge remote-tracking branch 'origin/master'
dg0yt effbd2f
CI [skip actions]
dg0yt a46d4ca
Merge remote-tracking branch 'origin/master' into HEAD
BillyONeal c6d1157
Merge remote-tracking branch 'origin/master' into fixup-pkgconfig
dg0yt 28c95a9
CI [skip actions]
dg0yt 7dfbec6
Don't fail on detected errors
dg0yt 74752e2
Disable unit-testing for fatal errors
dg0yt 691e40f
Merge branch 'microsoft:master' into fixup-pkgconfig
dg0yt e8f5ae6
Merge branch 'microsoft:master' into fixup-pkgconfig
dg0yt 3e91f2e
Merge branch 'microsoft:master' into fixup-pkgconfig
dg0yt 261671c
Merge branch 'microsoft:master' into fixup-pkgconfig
dg0yt File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this in general not an upstream bug that should be fixed there?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not in general. It is often introduced by vcpkg (with wrappers or patches), or by building configurations simply not supported upstream (static on non-windows, pkg-config on windows).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would say it is limited understand of what
LIBRARIES
might mean in CMake and simply assuming it is a singular file.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
... if it is using
<Pkg>_LIBRARIES
at all. vcpkg also turn<Pkg>_LIBRARY
into a list sometimes.