-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integrate 3rd party dependency management #77
Comments
Sure. This is one of the things that I have in mind for the upcoming releases. One of the requests in Reddit was about package management. So if you please, I would like to see an initial implementation of these. But first...
What do you think? |
To my judgement Conan and VCPKG are the most popular ones at the moment. Supporting those two would get us quite far for now. And even apart from that, there aren't that many C++ package managers to begin with. We could implement support for those two in a somewhat extensible way to allow other package managers down the line. As for the difference between specifying the package manager in the section header or directly with the dependency.
That would be really nice to have, but I think that is a really hard problem. That is also one of the reasons, why vcpkg consists of a curated list of packages. Pulling a CMake project from Github and making it "just work" is really troublesome. But if we are at a point, where some people use our build system, integrating zork projects from github would probably be easy, because we definitely already know how to build those. |
I also wanted to start with vcpkg, as i don't have experience with conan and vcpkg seems easy to integrate |
As with the other issue, no problem. I am really happy with the proposal, and I really want to see the changes |
@foip what about this one? Was you able to figure out something for this proposal? I am really interested in know your opinion, and if you are able to get some time to go ahead with this one |
Feature Request: Integrate 3rd party dependency management
Let's take for example VCPKG
We could have a section inside
zork.toml
:We would have to generate a
vcpkg.json
manifest in theout
directory and runvcpkg install
inside theout
directory.The packages will be installed in
out/vcpkg_installed
and can be integrated like this.This would be a relatively simple addition implementation wise (probably) and would also solve the integration of test-frameworks:
The text was updated successfully, but these errors were encountered: