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.
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
Initial VCPkg integration #4226
base: master
Are you sure you want to change the base?
Initial VCPkg integration #4226
Changes from 12 commits
217ad69
cccb361
d3e983b
b5f070c
52de2a6
282785e
12d1fdd
705be7b
16b87e6
a8fecc5
a7d5fd8
a560ee0
7ce7088
2f3c24f
70fef43
20ce478
2ffe5d4
076d2d9
4ec11b5
8e22ef5
93630d3
93233b0
9147eab
7e7727f
3b89b13
ce40138
a7f5858
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Large diffs are not rendered by default.
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.
Seems like this should be a win32 only thing? Or does it work on all platforms?
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.
Looks like win, linux, and macos. So it shouldn't be in default list. (BSD's not supported?, hpux, solaris, aix, other evil remnants of the past which are still in use(that's not referring to BSDs, but rather the others.. ;)
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.
further review looks like your implementation is win32 only, so should be only in that platforms default tool list above. under
other_plat_tools
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.
My implementation is not Win32-only. I've tested on Ubuntu and Windows, and it should work on Mac as well, though I don't have the ability to test Mac, as I don't own one.
OK, so if I'm understanding correctly, I should conditionally add this to other_plat_tools on platforms where it's supported.
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.
Yes. add it to
other_plat_tools
for each supported platform. Also I'd add a note which platforms it's supported on in the docs and CHANGES/RELEASE files.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.
Ummm...how do I detect "linux"? It seems like tools such as m4 and rpm are being added simply based on "not win32". Is there a positive test I can do to detect a linux system?
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.
Eh, that's a little complex. Depending on where you're asking... a simple way is to check
sys.platform
forlinux
. However, the name of the Platform module is actuallyposix
, which is shared with some of the other choices (that originally comes from the value ofos.name
).Large diffs are not rendered by default.
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.
The generated entities for a tool named
vcpkg
will be&t-vcpkg;
and&t-link-vcpgk;
- thus this entity reference generated an error.