Replies: 9 comments 6 replies
-
Hey, i think that would be a very cool feature! |
Beta Was this translation helpful? Give feedback.
-
What would it take to implement this? Is there any architectural issue in the way? |
Beta Was this translation helpful? Give feedback.
-
Sharing the |
Beta Was this translation helpful? Give feedback.
-
I would love to see this feature as well! I use manifest mode for almost all of my projects; it provides a convenient way to share dependencies using vcpkg. However, sometimes I want to deploy the built binary from my project and there's currently no easy way to share all of the integrated dependencies that vcpkg builds for me. The current error I'm given is:
However, it seems that it's been this way for more than 18 months and there's no clear indication what the roadmap is, or what technical issues are preventing this from working. |
Beta Was this translation helpful? Give feedback.
-
We recognize that there are a number of commands that do not work with manifest mode today. We intend to rectify this in the future. The same goes for commands for vcpkg artifacts vs. ports. I don't have a date currently for when "vcpkg export" will be looked at, but I will discuss it further with the other maintainers. |
Beta Was this translation helpful? Give feedback.
-
Is there any possibility to work around the limitation? How does VCPKG even know that it is within a manifest-mode installation? I moved vcpkg.json out of the way, but VCPKG still "knows" that the install-root is from a manifest install. EDIT: I moved the vcpkg_installed into the VCPKG worktree. Then it appears to work and will export all installed packages. What would be cool would be a command to print out a |
Beta Was this translation helpful? Give feedback.
-
Cant we just zip an export the vcpkg_installed folder? Whats wrong with that? |
Beta Was this translation helpful? Give feedback.
-
Update: we shipped vcpkg export for manifest mode in the 2023.10.19 release: https://devblogs.microsoft.com/cppblog/vcpkg-2023-10-19-release-export-for-manifests-documentation-improvements-and-more/ Let us know what you think! |
Beta Was this translation helpful? Give feedback.
-
Update: we shipped vcpkg export for manifest mode in the 2023.10.19 release: https://devblogs.microsoft.com/cppblog/vcpkg-2023-10-19-release-export-for-manifests-documentation-improvements-and-more/ |
Beta Was this translation helpful? Give feedback.
-
Is your feature request related to a problem? Please describe.
Manifest mode introduced a handful of nice features like allowing platform-specific definitions of dependencies. I would like to use this together with
vcpkg export
. Currently, attempting to do this fails with:Proposed solution
vcpkg export
works as it does now when running without a vcpkg.json file.Describe alternatives you've considered
Currently we define a big list of packages in a GitHub Actions workflow file in our fork of the vcpkg repo. Customizing this for different OSes would require implementing that logic in the GH Actions workflow file. It would be nice to move this out of the CI script and into a separate file, which would allow using the hash of the vcpkg.json file in GH Actions cache keys.
Beta Was this translation helpful? Give feedback.
All reactions