I searched the issues but could not find the answer.
The documentation does not mention it as well
https://docs.microsoft.com/en-us/cpp/build/vcpkg
Since I installed libraries for multiple triplets I would like to see a list for a specific triplet
I tried:
vcpkg --triplet x86-windows list
But it displays the packages for all triplets
zlib:x64-windows 1.2.11-6 A compression library
zlib:x64-windows-static 1.2.11-6 A compression library
zlib:x86-windows 1.2.11-6 A compression library
zlib:x86-windows-static 1.2.11-6 A compression library
Is this feature implemented ? If not, it would be great to have
In the mean time you can run vcpkg list | grep x86-windows
Thanks for looking into this.
Could I propose some additional features:
zlib:x64-windows 1.2.11-6 A compression library
zlib:x64-windows-static >> Not Installed <<
_(It would be great is 'install' would detect the used triplets on a system and installs for all triplets)_
Detection of different versions
For instance zlib 1.2.11-5 in x86-windows, 1.2.11-6 in x64-windows
Minimize output
When zlib is installed in all triplets, only display
zlib:all 1.2.11-6 A compression library
Thanks for looking into this.
Could I propose some additional features:
[...]
That might be tricky since vcpkg allows for custom and now community triplets.
You'll probably never see all and the missing list will be really long.
Same issue when I tried to do vcpkg list --triplet x64-windows
The ugly workaound on windows is
vcpkg list | find /i "x64-windows"
Most helpful comment
In the mean time you can run
vcpkg list | grep x86-windows