mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-24 22:27:49 +08:00
8639e65b88
* Split integration.md per Build System. Centralize buildsystem configuration. * PR comment
1.2 KiB
1.2 KiB
export
Command
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.