Port dependencies from vcpkg with FetchContent? #37364
Unanswered
monamimani
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have never written a port file before, so I actually don't know really what I am doing (Have been using vcpkg for a while now in Manifest mode)
Lately I wanted to try Google/FuzzTest to see how it feels to use. It is not on vcpkg yet, but I did learn about overlay-tripple and overlay-ports. I read the documentation on them and proceeded with writing an overlay-port.
FuzzTest as dependencies on various things but the first that seems to block me is abseil-cpp . It is supposed to use FetchContent but after a lot of searching ( too much for an issue that I bet every new portfile writter will encounter), I learn that vcpkg operate with FETCHCONTENT_FULLY_DISCONNECTED.
I could set it to ON but that doesn't seem to be how vcpkg is supposed to be used, given the default, and I want to learn the best practice about creating portfile.
What is the proper, recommended way to solve that for 2 kind of dependencies.
I guess the idea is to allow for reuse of dependencies if possible. But I don't know if vcpkg can do that, as I assume it is quite involved to sort out all the versioning dependencies.
Beta Was this translation helpful? Give feedback.
All reactions