Vcpkg: How to configure vcpkg to enable all feature package by default

Created on 18 Oct 2017  路  4Comments  路  Source: microsoft/vcpkg

Is there a way to configure vcpkg to enable all feature package by default when installing? Perhaps by a environment variable?

For example I want to type vcpkg install boost and it will have the effect of vcpkg install boost[locale-icu,regex-icu,python] --featurepackages

Just like if I set VCPKG_DEFAULT_TRIPLET to x64-windows if I type vcpkg install ceres is the same as vcpkg install ceres:x64-windows

Most helpful comment

We don't currently have that, though it seems like an interesting idea. I think a first step would be to add a flag to install that requests all features to be installed. E.g:

>vcpkg install boost --all-features --featurepackages

All 4 comments

We don't currently have that, though it seems like an interesting idea. I think a first step would be to add a flag to install that requests all features to be installed. E.g:

>vcpkg install boost --all-features --featurepackages

vcpkg install boost[*] ?

With --all-features --featurepackages you can't have the flags apply to only some packages.

With pcl, vtk, opencv all starting to have feature packages I say we definitely need this. Installing them has starting to become a bit painful.

vcpkg install package[*] works well for me

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ThinkalVB picture ThinkalVB  路  3Comments

cjvaijo picture cjvaijo  路  3Comments

PhilLab picture PhilLab  路  3Comments

cskrisz picture cskrisz  路  3Comments

jack17529 picture jack17529  路  3Comments