Skip to content
Discussion options

You must be logged in to vote

Adding to Mukunda Rao Katta (@MukundaKatta): for local iteration you usually do not need a second filesystem registry. An overlay port is enough.

For example, in repo A you can create:

overlays/
  repo-b/
    vcpkg.json
    portfile.cmake

overlays/repo-b/vcpkg.json:

{
  "name": "repo-b",
  "version-string": "local",
  "dependencies": [
    {
      "name": "vcpkg-cmake",
      "host": true
    },
    {
      "name": "vcpkg-cmake-config",
      "host": true
    }
  ]
}

overlays/repo-b/portfile.cmake:

if(NOT DEFINED ENV{REPO_B_PATH})
    message(FATAL_ERROR "Please set REPO_B_PATH to your local repo-b checkout")
endif()

set(SOURCE_PATH "$ENV{REPO_B_PATH}")

vcpkg_cmake_configure(
    SOURC…

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@miss-programgamer
Comment options

@JackBoosY
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by andriy-fedechko-imprivata
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants