Win32::Vcpkg::List - Interface to Microsoft Vcpkg List of Packages
version 0.04
use Win32::Vcpkg::List;
This module provides an interface to a list of Vcpkg
package. Vcpkg
is a Visual C++ library package manager, and as such is useful in building XS and FFI extensions for Visual C++ builds of Perl.
my $list = Win32::Vcpkg::List->new(%options);
Creates a list of packages instance.
The Vcpkg
root. By default this is what root
from Win32::Vcpkg returns.
my $root = $list->root;
The Vcpkg
root. This is an Path::Tiny object.
my @triplets = $list->triplets;
Return a list of the architecture triplets present in the Vcpkg install directory.
my $package = $list->search($name, %options);
Search for a package with the given name. The package returned will be an instance of Win32::Vcpkg::Package. If no package is found then undef
is returned. Options:
The architecture triplet to search under. The Vcpkg
triplet. By default this is what perl_triplet
from Win32::Vcpkg returns.
Any header subdirectory names.
If set to true, the $package
object will use debug libraries.
Graham Ollis <plicease@cpan.org>
This software is copyright (c) 2020 by Graham Ollis.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.