-
Notifications
You must be signed in to change notification settings - Fork 442
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
dox: Fix vcpkg install everything command #368
Conversation
The real solution for this would be Vcpkg having per-platform
That would be an alternative solution -- can presence of |
Codecov Report
@@ Coverage Diff @@
## master #368 +/- ##
=======================================
Coverage 71.21% 71.21%
=======================================
Files 348 348
Lines 18012 18012
=======================================
Hits 12828 12828
Misses 5184 5184 Continue to review full report at Codecov.
|
Um, before I merge this -- didn't |
We do have adding qualifier support to default features on our backlog, however we've identified a workaround in the meantime: Essentially, add a feature which (itself) represents the defaults, have that be the only default, and then that feature can use qualifiers on further dependencies. Example: https://github.com/microsoft/vcpkg/blob/master/ports/cpprestsdk/CONTROL |
Yes that's the case. |
@ras0219-msft oh, wonderful -- didn't know the |
Ooo, just spotted this. This would have helped me the other day. Related to #373. |
So, summing up the current state of this PR:
Anything I forgot? I think the most userfriendly would be to support |
This is unfortunately problematic because there are features that are inevitably available just on a single platform, even more so with the introduction of filesystems (mosra/corrade#39). Collapsing the current problematic ones to just One idea that could fix |
This is now fixed with microsoft/vcpkg#12211 by ignoring features that are incompatible with given platform. |
Oh joy, just in time for my return to Magnum. :D Thanks @mosra, see you in the chat shortly. |
Hi @mosra !
Just came by this and remembered a discussion on gitter. To ensure it's still bareable for vcpkg users to install everything on windows I went trough all available packages and listed them.
Otoh: This is temporary and unacceptable in my opinion in terms of usability, since the average user will try
vcpkg install magnum[*]
first and having to check the docs to copy the entire list is not great either.I propose
vcpkg install magnum[windowlesscontext]
to autodetect which one to build or (if some certain platforms have multiple contexts available) automatically detect features that cannot be built and silently (or with warning "skipping") remove them from the list.I cannot promise that I will get to implementing such a thing too soon, though. Maybe with the next release update of the ports.
Cheers, Jonathan