Skip to content
Discussion options

You must be logged in to vote

When vcpkg installs a package, it usually installs the port's default features. (Basically, that's why they are called "default features".)

To change that behavior, the user must make an explicit request in the top-level install specification (command line or manifest). As you noticed, this is considered per triplet. (Basically, this mirrors the fact that features vary subject to dependencies and triplet.)

In a way, it is reasonable and cumbersome at the same time...
Many users expect a different behavior but often don't consider all consequences.
Some contributors want that default features are generally disabled for host dependencies, at least at user request.
Microsoft decided to just …

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@mntt-SSE
Comment options

@dg0yt
Comment options

Answer selected by mntt-SSE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants