mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-21 11:48:04 +08:00
8639e65b88
* Split integration.md per Build System. Centralize buildsystem configuration. * PR comment
21 lines
1.2 KiB
Markdown
21 lines
1.2 KiB
Markdown
# `export` Command
|
|
|
|
**The latest version of this documentation is available on [GitHub](https://github.com/Microsoft/vcpkg/tree/master/docs/users/buildsystems/export-command.md).**
|
|
|
|
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 files
|
|
- `scripts/buildsystems/vcpkg.cmake` is the [CMake toolchain file](cmake-integration.md)
|
|
- `scripts/buildsystems/msbuild/vcpkg.props` and `scripts/buildsystems/msbuild/vcpkg.targets` are the [MSBuild integration files](msbuild-integration.md)
|
|
|
|
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](https://blogs.msdn.microsoft.com/vcblog/2017/05/03/vcpkg-introducing-export-command/) for additional examples.
|