Skip to content

Looking for help with versioning in a filesystem registry #38710

Answered by Neumann-A
Bvsemmer asked this question in Q&A
Discussion options

You must be logged in to vote

Not Git based.

Why? git stuff does not need to be remote. You can have totally local git trees.

What I would expect here is that vcpkg would FAIL in this case. Since I ask for tinyxml2 version '11.0.0', while I only have '10.0.0' in my registry.

overlays are not registries. overlays are the ultimate override. They will override any version specifications. You want to use a filesystem registry not an overlay. (see https://github.com/vcpkg/example-filesystem-registry)

As such you need something like the following in your vcpkg-configuration.json

  "registries": [
    {
      "kind": "filesystem",
      "repository": "<path-to_registry>"
   }

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by Bvsemmer
Comment options

You must be logged in to vote
1 reply
@dg0yt
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants