2 ms·
> If there are better solutions than submodules for these I would love to know. https://learn.microsoft.com/en-gb/vcpkg/concepts/registries https://learn.micro
by delta_p_delta_x 2y ago
> If there are better solutions than submodules for these I would love to know.
https://learn.microsoft.com/en-gb/vcpkg/concepts/registries https://learn.microsoft.com/en-gb/vcpkg/concepts/registries and
In essence:
- Publish your local/private mirror of the 3rd-party dep
- Edit the portfile for each dependency to point to your private repo, usually in `vcpkg_from_git`, `vcpkg_from_github`, `vcpkg_from_gitlab`, or `vcpkg_from_bitbucket`
- Publish these portfiles to your private vcpkg registry
- Set the registry in vcpkg-configuration.json (or the `vcpkg-configuration` field in vcpkg.json) to your private registry
Done.
- fsloth 2y agoThank you!