The latest version of this documentation is available on GitHub.
The export
command creates a shrinkwrapped archive containing a specific set of libraries (and their dependencies) that can be quickly and reliably shared with build servers or other users in your organization. export
only supports classic mode at this time.
--nuget
: NuGet package--zip
: Zip archive--7zip
: 7Zip archive--raw
: Raw, uncompressed folder
Each of these have the same internal layout which mimics the layout of a full vcpkg instance:
installed/
contains the library filesscripts/buildsystems/vcpkg.cmake
is the CMake toolchain filescripts/buildsystems/msbuild/vcpkg.props
andscripts/buildsystems/msbuild/vcpkg.targets
are the MSBuild integration files
NuGet package exports will also contain a build\native\vcpkg.targets
that integrates with MSBuild projects using the NuGet package manager.
Please also see our blog post for additional examples.